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