cwconfig.py
branchstable
changeset 6799 30faf6021278
parent 6788 0f31ed3fff79
child 6844 5ae2bc554c23
--- a/cwconfig.py	Mon Jan 10 14:00:37 2011 +0100
+++ b/cwconfig.py	Tue Jan 11 12:05:12 2011 +0100
@@ -450,14 +450,15 @@
 
     @classmethod
     def cube_dir(cls, cube):
-        """return the cube directory for the given cube id,
-        raise `ConfigurationError` if it doesn't exists
+        """return the cube directory for the given cube id, raise
+        `ConfigurationError` if it doesn't exist
         """
         for directory in cls.cubes_search_path():
             cubedir = join(directory, cube)
             if exists(cubedir):
                 return cubedir
-        raise ConfigurationError('no cube %s in %s' % (cube, cls.cubes_search_path()))
+        raise ConfigurationError('no cube %r in %s' % (
+            cube, cls.cubes_search_path()))
 
     @classmethod
     def cube_migration_scripts_dir(cls, cube):