summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt/package.py4
-rw-r--r--debian/changelog1
2 files changed, 3 insertions, 2 deletions
diff --git a/apt/package.py b/apt/package.py
index 53f6c1f5..7297a1bb 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -105,12 +105,12 @@ class Package(object):
return ver.Downloadable
def candidateDownloadable(self):
" returns if the canidate is downloadable "
- self._downloadable(useCandidate=True)
+ return self._downloadable(useCandidate=True)
candidateDownloadable = property(candidateDownloadable)
def installedDownloadable(self):
" returns if the installed version is downloadable "
- self._downloadable(useCandidate=False)
+ return self._downloadable(useCandidate=False)
installedDownloadable = property(installedDownloadable)
def sourcePackageName(self):
diff --git a/debian/changelog b/debian/changelog
index 896e4a0d..5eac06d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ python-apt (0.6.17) unstable; urgency=low
* apt/package.py:
- fix various pychecker warnings
- check if looupRecords succeeded
+ - fix bug in the return statement of _downloadable()
* apt/cache.py:
* python/srcrecords.cc:
- add "Restart" method