cwconfig.py
branchstable
changeset 6657 402bff898024
parent 6503 0fd079726606
child 6658 e8ede572b221
child 6659 6205927e927a
equal deleted inserted replaced
6618:1268da8a2dbb 6657:402bff898024
   492                     deps = {}
   492                     deps = {}
   493             else:
   493             else:
   494                 deps = dict( (x[len('cubicweb-'):], v)
   494                 deps = dict( (x[len('cubicweb-'):], v)
   495                              for x, v in gendeps.iteritems()
   495                              for x, v in gendeps.iteritems()
   496                              if x.startswith('cubicweb-'))
   496                              if x.startswith('cubicweb-'))
       
   497                 if 'cubicweb' in gendeps:
       
   498                     deps['cubicweb'] = gendeps['cubicweb']
   497         if not isinstance(deps, dict):
   499         if not isinstance(deps, dict):
   498             deps = dict((key, None) for key in deps)
   500             deps = dict((key, None) for key in deps)
   499             warn('[3.8] cube %s should define %s as a dict' % (cube, key),
   501             warn('[3.8] cube %s should define %s as a dict' % (cube, key),
   500                  DeprecationWarning)
   502                  DeprecationWarning)
   501         for depcube in deps:
   503         for depcube in deps: