cwconfig.py
brancholdstable
changeset 7676 cc3987eb793c
parent 7264 9ed9e1d77ef3
child 7691 c47dcd37d4e3
--- a/cwconfig.py	Mon May 16 16:24:00 2011 +0200
+++ b/cwconfig.py	Wed Jul 20 18:21:47 2011 +0200
@@ -1070,9 +1070,10 @@
     def instance_md5_version(self):
         import hashlib
         infos = []
-        for pkg in self.cubes():
+        for pkg in sorted(self.cubes()):
             version = self.cube_version(pkg)
             infos.append('%s-%s' % (pkg, version))
+        infos.append('cubicweb-%s' % str(self.cubicweb_version()))
         return hashlib.md5(';'.join(infos)).hexdigest()
 
     def load_configuration(self):