diff options
Diffstat (limited to 'tests/cache.py')
| -rw-r--r-- | tests/cache.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cache.py b/tests/cache.py index 47d9a3b4..3ec87b40 100644 --- a/tests/cache.py +++ b/tests/cache.py @@ -1,7 +1,7 @@ #!/usr/bin/env python2.4 # # Test for the pkgCache code -# +# import apt_pkg import sys @@ -26,7 +26,7 @@ def main(): c = ver.Arch d = ver.DependsListStr dl = ver.DependsList - # get all dependencies (a dict of string->list, + # get all dependencies (a dict of string->list, # e.g. "depends:" -> [ver1,ver2,..] for dep in dl.keys(): # get the list of each dependency object @@ -41,7 +41,7 @@ def main(): k = ver.DependsListStr j = ver.DependsList pass - + print "\r%i/%i=%.3f%% " % (i,all,(float(i)/float(all)*100)), if __name__ == "__main__": |
