diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-05-17 18:41:09 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-05-17 18:41:09 +0200 |
| commit | 52ae9a181314398e4dc4996d1409e99b9bdbbf7e (patch) | |
| tree | 0311a671e183751222eded229740fbdb7001d8b3 /apt | |
| parent | 5042fb1f6160381c18a4add7076e8da175cba2d0 (diff) | |
| download | python-apt-52ae9a181314398e4dc4996d1409e99b9bdbbf7e.tar.gz | |
* apt/package.py:
- actually return values in {candiate,installed}Downloadable()
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/package.py | 4 |
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): |
