# HG changeset patch # User Sylvain Thénault # Date 1269964570 -7200 # Node ID bd13d9268b44644f0a39fc281777d98d9100b0c2 # Parent 981e85b14b47b85daf212e7f7d3e207b33c68166 [cleanup] exists imported, use it diff -r 981e85b14b47 -r bd13d9268b44 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