cwconfig.py
branchstable
changeset 7264 9ed9e1d77ef3
parent 7179 00548a4b22a6
child 7691 c47dcd37d4e3
--- a/cwconfig.py	Wed Apr 27 09:55:17 2011 +0200
+++ b/cwconfig.py	Wed Apr 27 15:42:07 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):