diff options
-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) |