summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-08-04 08:32:54 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-08-04 08:32:54 +0000
commit6a8d39c2770b9640a51d8d8d8fed10e65e5d2336 (patch)
treeb316611639f4707247a0a93174cb65567f0e1f72 /tests
parent778a4b5fa470c03a598f3cf6f81ab73c3855f488 (diff)
downloadpython-apt-6a8d39c2770b9640a51d8d8d8fed10e65e5d2336.tar.gz
* making the interface cleaner (thanks to jamesh): added proerties in the Package class
Diffstat (limited to 'tests')
-rw-r--r--tests/apt-test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/apt-test.py b/tests/apt-test.py
index c44d3117..03fa12eb 100644
--- a/tests/apt-test.py
+++ b/tests/apt-test.py
@@ -6,7 +6,7 @@ if __name__ == "__main__":
print cache
for name in cache.keys():
pkg = cache[name]
- if pkg.isUpgradable():
+ if pkg.isUpgradable:
pkg.markInstall()
for pkg in cache.getChanges():
#print pkg.Name()