diff options
author | Johan Dahlin <zilch@src.gnome.org> | 2002-12-05 00:24:08 +0000 |
---|---|---|
committer | Johan Dahlin <zilch@src.gnome.org> | 2002-12-05 00:24:08 +0000 |
commit | a93b4bd6c94a2134598109873964ffead2e46750 (patch) | |
tree | e628873c4251ab76805e539399c04fc6e597cafb | |
parent | bf32f7fe8aca2115aeca1b190d513f3465cd9bc7 (diff) | |
download | pygobject-a93b4bd6c94a2134598109873964ffead2e46750.tar.gz pygobject-a93b4bd6c94a2134598109873964ffead2e46750.tar.xz pygobject-a93b4bd6c94a2134598109873964ffead2e46750.zip |
ChangeLog
-rw-r--r-- | pygtk.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |