summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-17 18:41:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-17 18:41:09 +0200
commit52ae9a181314398e4dc4996d1409e99b9bdbbf7e (patch)
tree0311a671e183751222eded229740fbdb7001d8b3 /apt
parent5042fb1f6160381c18a4add7076e8da175cba2d0 (diff)
downloadpython-apt-52ae9a181314398e4dc4996d1409e99b9bdbbf7e.tar.gz
* apt/package.py:
- actually return values in {candiate,installed}Downloadable()
Diffstat (limited to 'apt')
-rw-r--r--apt/package.py4
1 files changed, 2 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):