From a953d82143f0ec979e18f17e8d9bbacbac954868 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Fri, 16 May 2008 16:11:06 +1000 Subject: Fixes to blank lines, to conform with PEP 8. --- tests/pkgrecords.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/pkgrecords.py') diff --git a/tests/pkgrecords.py b/tests/pkgrecords.py index 43723569..308505f7 100644 --- a/tests/pkgrecords.py +++ b/tests/pkgrecords.py @@ -7,6 +7,7 @@ import apt_pkg import sys + def main(): apt_pkg.init() cache = apt_pkg.GetCache() @@ -31,6 +32,7 @@ def main(): pass print "\r%i/%i=%.3f%% " % (i,cache.PackageCount, (float(i)/float(cache.PackageCount)*100)), + if __name__ == "__main__": main() sys.exit(0) -- cgit v1.2.3