diff options
author | Gui Chen <gui.chen@intel.com> | 2013-04-02 17:52:20 +0800 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2013-04-02 17:52:57 +0800 |
commit | d8b647e05c8b8f1ebf4484776cee4742d79eb471 (patch) | |
tree | b48c2269c5e5e9bb18a5d013fee71399bf1e6f04 /plugins/backend/zypppkgmgr.py | |
parent | 3e0de1d603ef48b48b845f8a83885dbd91f1fc76 (diff) | |
download | mic-d8b647e05c8b8f1ebf4484776cee4742d79eb471.tar.gz mic-d8b647e05c8b8f1ebf4484776cee4742d79eb471.tar.bz2 mic-d8b647e05c8b8f1ebf4484776cee4742d79eb471.zip |
fix attachment packages swig attr lost
Change-Id: Idaeabdd0c340f6f9f8f5eddae6eb17478115d11c
Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'plugins/backend/zypppkgmgr.py')
-rwxr-xr-x | plugins/backend/zypppkgmgr.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/backend/zypppkgmgr.py b/plugins/backend/zypppkgmgr.py index facecf3..c760859 100755 --- a/plugins/backend/zypppkgmgr.py +++ b/plugins/backend/zypppkgmgr.py @@ -965,8 +965,9 @@ class Zypp(BackendPlugin): reverse=True) if items: - url = self.get_url(items[0]) - proxies = self.get_proxies(items[0]) + item = zypp.asKindPackage(items[0]) + url = self.get_url(item) + proxies = self.get_proxies(item) return (url, proxies) return (None, None) |