proxy/proxy/pm/uploadLib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 34083bcda537e1332c5c7079b99a9e2f9cb8af34
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Jan 26 16:21:53 2010 +0100
fix reference to call()
addressing:
Unable to find package management libraries.
Path not correct? '/usr/share/rhn'
Traceback (most recent call last):
File "/usr/bin/rhn_package_manager", line 25, in ?
raise ImportError, e
ImportError: cannot import name call
diff --git a/proxy/proxy/pm/uploadLib.py b/proxy/proxy/pm/uploadLib.py
index d48260e..c299fe1 100644
--- a/proxy/proxy/pm/uploadLib.py
+++ b/proxy/proxy/pm/uploadLib.py
@@ -141,7 +141,7 @@ class UploadClass(uploadLib.UploadClass):
else:
method = self.server.packages.uploadPackageInfo
- ret = call(method, self.username, self.password, hash)
+ ret = uploadLib.call(method, self.username, self.password, hash)
if ret is None:
self.die(-1, "Upload attempt failed")
Show replies by date