diff options
| author | Ben Finney <ben@benfinney.id.au> | 2008-05-16 18:04:01 +1000 |
|---|---|---|
| committer | Ben Finney <ben@benfinney.id.au> | 2008-05-16 18:04:01 +1000 |
| commit | 0d12af28d4de2745f8831abf0224ceabec693b76 (patch) | |
| tree | 01f46a2739eebc6676fc70a6ba93a69121e1bea6 /apt/cache.py | |
| parent | ad7bc46acd80451de21ce58450edb0f4367a5c79 (diff) | |
| download | python-apt-0d12af28d4de2745f8831abf0224ceabec693b76.tar.gz | |
Fix spaces adjacent to commas and operators, to conform with PEP 8.
Diffstat (limited to 'apt/cache.py')
| -rw-r--r-- | apt/cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py index 35da7970..3c3a25e5 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -153,7 +153,7 @@ class Cache(object): if item.StatIdle: transient = True continue - errMsg += "Failed to fetch %s %s\n" % (item.DescURI,item.ErrorText) + errMsg += "Failed to fetch %s %s\n" % (item.DescURI, item.ErrorText) failed = True # we raise a exception if the download failed or it was cancelt @@ -371,7 +371,7 @@ if __name__ == "__main__": for d in ["/tmp/pytest", "/tmp/pytest/partial"]: if not os.path.exists(d): os.mkdir(d) - apt_pkg.Config.Set("Dir::Cache::Archives","/tmp/pytest") + apt_pkg.Config.Set("Dir::Cache::Archives", "/tmp/pytest") pm = apt_pkg.GetPackageManager(c._depcache) fetcher = apt_pkg.GetAcquire(apt.progress.TextFetchProgress()) c._fetchArchives(fetcher, pm) |
