cwconfig.py
changeset 7278 1144a2d90314
parent 7264 9ed9e1d77ef3
child 7691 c47dcd37d4e3
--- a/cwconfig.py	Thu Apr 28 20:41:44 2011 +0200
+++ b/cwconfig.py	Fri Apr 29 09:08:30 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):