From a250c1bb1d9858cebfbec81b905b83a620d5e7bc Mon Sep 17 00:00:00 2001 From: Paul Pogonyshev Date: Thu, 29 Jan 2009 19:43:09 +0000 Subject: Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2009-01-29 Paul Pogonyshev Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py * pygtk.py: Replace all tabs with spaces. svn path=/trunk/; revision=1000 --- ChangeLog | 6 ++++++ pygtk.py | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f6b7062..715f57f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-01-29 Paul Pogonyshev + + Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py + + * pygtk.py: Replace all tabs with spaces. + 2009-01-29 Paul Pogonyshev Bug 567792 – gio.InputStream.read_async can cause memory diff --git a/pygtk.py b/pygtk.py index dbf7e07..acfadaa 100644 --- a/pygtk.py +++ b/pygtk.py @@ -38,7 +38,7 @@ def _get_available_versions(): versions = {} for dir in sys.path: if not dir: - dir = os.getcwd() + dir = os.getcwd() if not os.path.isdir(dir): continue @@ -58,8 +58,8 @@ def _get_available_versions(): if not os.listdir(pathname): continue - if not versions.has_key(filename[-3:]): - versions[filename[-3:]] = pathname + if not versions.has_key(filename[-3:]): + versions[filename[-3:]] = pathname return versions def require20(): -- cgit