cwconfig.py
changeset 10671 e08102f45237
parent 10666 7f6b5f023884
child 10719 065b5ac5c039
equal deleted inserted replaced
10670:96380c1524b0 10671:e08102f45237
  1108         infos = []
  1108         infos = []
  1109         for pkg in sorted(self.cubes()):
  1109         for pkg in sorted(self.cubes()):
  1110             version = self.cube_version(pkg)
  1110             version = self.cube_version(pkg)
  1111             infos.append('%s-%s' % (pkg, version))
  1111             infos.append('%s-%s' % (pkg, version))
  1112         infos.append('cubicweb-%s' % str(self.cubicweb_version()))
  1112         infos.append('cubicweb-%s' % str(self.cubicweb_version()))
  1113         return md5(';'.join(infos)).hexdigest()
  1113         return md5((';'.join(infos)).encode('ascii')).hexdigest()
  1114 
  1114 
  1115     def load_configuration(self, **kw):
  1115     def load_configuration(self, **kw):
  1116         """load instance's configuration files"""
  1116         """load instance's configuration files"""
  1117         super(CubicWebConfiguration, self).load_configuration(**kw)
  1117         super(CubicWebConfiguration, self).load_configuration(**kw)
  1118         if self.apphome and not self.creating:
  1118         if self.apphome and not self.creating: