client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 12172ee30b83432143458bb30e1a7e04e22ee6b2
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Thu Dec 3 15:08:38 2009 +0100
send an empty list rather than empty hash
Server expects list (not hash). This was mistakenly changes in commit
6006097b890aa925e06bf65a81d11d73f78b9103
diff --git a/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
b/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
index f94ec88..e21f18e 100755
--- a/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
+++ b/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
@@ -104,7 +104,7 @@ class RegisterKsCli(rhncli.RhnCli):
getInfo = 1
packageList = rpmUtils.getInstalledPackageList(getInfo=getInfo)
else:
- packageList = {}
+ packageList = []
hardwareList = hardware.Hardware()
Show replies by thread