diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | pygtk.py | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,11 @@ 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. + +2009-01-29 Paul Pogonyshev <pogonyshev@gmx.net> + Bug 567792 – gio.InputStream.read_async can cause memory corruption @@ -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(): |