summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <zilch@src.gnome.org>2002-12-05 00:24:08 +0000
committerJohan Dahlin <zilch@src.gnome.org>2002-12-05 00:24:08 +0000
commita93b4bd6c94a2134598109873964ffead2e46750 (patch)
treee628873c4251ab76805e539399c04fc6e597cafb
parentbf32f7fe8aca2115aeca1b190d513f3465cd9bc7 (diff)
downloadpygobject-a93b4bd6c94a2134598109873964ffead2e46750.tar.gz
pygobject-a93b4bd6c94a2134598109873964ffead2e46750.tar.xz
pygobject-a93b4bd6c94a2134598109873964ffead2e46750.zip
ChangeLog
-rw-r--r--pygtk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygtk.py b/pygtk.py
index c7ad1c2..2310a0b 100644
--- a/pygtk.py
+++ b/pygtk.py
@@ -29,7 +29,7 @@ def _get_available_versions():
versions = {}
for dir in sys.path:
if not dir: dir = os.getcwd()
- if not os.path.exists(dir): continue
+ if not os.path.isdir(dir): continue
if _pygtk_dir_pat.match(os.path.basename(dir)):
continue # if the dir is a pygtk dir, skip it
for filename in os.listdir(dir):