nicer assertion message tls-sprint
authorGraziella Toutoungis <graziella.toutoungis@logilab.fr>
Tue, 05 May 2009 15:39:43 +0200
branchtls-sprint
changeset 1681 1586c0ed9a92
parent 1680 39860636e184
child 1682 36bd5cba09de
nicer assertion message
cwconfig.py
--- a/cwconfig.py	Tue May 05 15:39:03 2009 +0200
+++ b/cwconfig.py	Tue May 05 15:39:43 2009 +0200
@@ -677,7 +677,7 @@
         return join(self.instance_data_dir(), self.appid)
 
     def init_cubes(self, cubes):
-        assert self._cubes is None
+        assert self._cubes is None, self._cubes
         self._cubes = self.reorder_cubes(cubes)
         # load cubes'__init__.py file first
         for cube in cubes: