[cleanup] exists imported, use it stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 30 Mar 2010 17:56:10 +0200
branchstable
changeset 5086 bd13d9268b44
parent 5085 981e85b14b47
child 5087 192ebe969779
[cleanup] exists imported, use it
cwconfig.py
--- a/cwconfig.py	Tue Mar 30 17:54:28 2010 +0200
+++ b/cwconfig.py	Tue Mar 30 17:56:10 2010 +0200
@@ -330,7 +330,7 @@
     def available_cubes(cls):
         cubes = set()
         for directory in cls.cubes_search_path():
-            if not os.path.exists(directory):
+            if not exists(directory):
                 cls.error('unexistant directory in cubes search path: %s'
                            % directory)
                 continue