Comment 8 for bug 1309387

Revision history for this message
Michael Vogt (mvo) wrote :

Here is the fix:

=== modified file 'GDebi/GDebiCommon.py'
--- GDebi/GDebiCommon.py 2014-04-01 20:06:09 +0000
+++ GDebi/GDebiCommon.py 2014-04-22 07:26:49 +0000
@@ -91,7 +91,7 @@
         if file.endswith(".click"):
             klass = ClickPackage
         try:
- self._deb = klass(file, Cache(), downloaded)
+ self._deb = klass(file, self._cache, downloaded)
         except (IOError, SystemError, ValueError) as e:
             logging.debug("open failed with %s" % e)
             mimetype=guess_type(file)