summaryrefslogtreecommitdiff
path: root/pygtk.py
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2009-01-29 19:43:09 +0000
committerPaul Pogonyshev <paulp@src.gnome.org>2009-01-29 19:43:09 +0000
commita250c1bb1d9858cebfbec81b905b83a620d5e7bc (patch)
tree2b6fed259d5ad007aca3cab992e0aac9785d5aa4 /pygtk.py
parent432122fd0e62e0bfc46e49581fc4dceeb11db717 (diff)
downloadpygobject-a250c1bb1d9858cebfbec81b905b83a620d5e7bc.tar.gz
Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py
2009-01-29 Paul Pogonyshev <pogonyshev@gmx.net> Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py * pygtk.py: Replace all tabs with spaces. svn path=/trunk/; revision=1000
Diffstat (limited to 'pygtk.py')
-rw-r--r--pygtk.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygtk.py b/pygtk.py
index dbf7e073..acfadaac 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():