equal
deleted
inserted
replaced
1068 |
1068 |
1069 @cached |
1069 @cached |
1070 def instance_md5_version(self): |
1070 def instance_md5_version(self): |
1071 import hashlib |
1071 import hashlib |
1072 infos = [] |
1072 infos = [] |
1073 for pkg in self.cubes(): |
1073 for pkg in sorted(self.cubes()): |
1074 version = self.cube_version(pkg) |
1074 version = self.cube_version(pkg) |
1075 infos.append('%s-%s' % (pkg, version)) |
1075 infos.append('%s-%s' % (pkg, version)) |
|
1076 infos.append('cubicweb-%s' % str(self.cubicweb_version())) |
1076 return hashlib.md5(';'.join(infos)).hexdigest() |
1077 return hashlib.md5(';'.join(infos)).hexdigest() |
1077 |
1078 |
1078 def load_configuration(self): |
1079 def load_configuration(self): |
1079 """load instance's configuration files""" |
1080 """load instance's configuration files""" |
1080 super(CubicWebConfiguration, self).load_configuration() |
1081 super(CubicWebConfiguration, self).load_configuration() |