client/rhel/rhn-client-tools/src/up2date_client/hardware.py | 2 +-
client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 3b2c2ecac7c02e8fce4866dc8e60d0ccff94356c
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Jul 28 16:57:27 2010 +0200
619098 - take manufacturer from system group
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
index 8355305..2a21930 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
@@ -610,7 +610,7 @@ def get_smbios():
'smbios.system.uuid': dmi_system_uuid(),
'smbios.bios.vendor': dmi_vendor(),
'smbios.system.serial':
get_dmi_data('/dmidecode/SystemInfo/SerialNumber'),
- 'smbios.system.manufacturer':
get_dmi_data('/dmidecode/BaseBoardInfo/Manufacturer'),
+ 'smbios.system.manufacturer':
get_dmi_data('/dmidecode/SystemInfo/Manufacturer'),
'smbios.system.product':
get_dmi_data('/dmidecode/SystemInfo/ProductName'),
'smbios.system.skunumber':
get_dmi_data('/dmidecode/SystemInfo/SKUnumber'),
'smbios.system.family':
get_dmi_data('/dmidecode/SystemInfo/Family'),
commit 423c570334069c44b737d2ecafca936823f202f4
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Jul 28 10:36:06 2010 +0200
618267 - add missing import and foo
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index db077c6..0168c71 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -19,6 +19,7 @@ import urlparse
import rhnreg_constants
import hardware
from rhnPackageInfo import convertPackagesFromHashToList
+from types import ListType, TupleType, StringType, UnicodeType, DictType, DictionaryType
try:
from rhn import rpclib
@@ -438,7 +439,7 @@ def server_supports_eus():
def sendHardware(systemId, hardwareList):
s = rhnserver.RhnServer()
- s.registration.add_hw_profile(systemId, hardwareList)
+ s.registration.add_hw_profile(systemId, _encode_characters(hardwareList))
def sendPackages(systemId, packageList):
s = rhnserver.RhnServer()
Show replies by date