fix cubes order while generating catalogs tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 13 May 2009 10:12:40 +0200
branchtls-sprint
changeset 1774 4f4e0c6682e5
parent 1773 789ee507a8e0
child 1775 f450f1594992
fix cubes order while generating catalogs
devtools/devctl.py
--- a/devtools/devctl.py	Wed May 13 10:12:03 2009 +0200
+++ b/devtools/devctl.py	Wed May 13 10:12:40 2009 +0200
@@ -36,7 +36,7 @@
         if cube is None:
             self._cubes = ()
         else:
-            self._cubes = self.expand_cubes(self.my_cubes(cube))
+            self._cubes = self.reorder_cubes(self.expand_cubes(self.my_cubes(cube)))
 
     def my_cubes(self, cube):
         return (cube,) + self.cube_dependencies(cube) + self.cube_recommends(cube)
@@ -96,6 +96,7 @@
     cleanup_sys_modules(libconfig)
     if cubedir:
         config = DevCubeConfiguration(cube)
+        config.cleanup_interface_sobjects = False
     else:
         config = libconfig
         libconfig = None