0001-misc-convert-old-roles-module-location-when-unpickli.patch
wcs/publisher.py | ||
---|---|---|
55 | 55 |
def find_class(self, module, name): |
56 | 56 |
if module == 'qommon.form': |
57 | 57 |
module = 'wcs.qommon.form' |
58 |
elif module in ('formdata', 'formdef', 'users', 'workflows'): |
|
58 |
elif module in ('formdata', 'formdef', 'roles', 'users', 'workflows'):
|
|
59 | 59 |
module = 'wcs.%s' % module |
60 | 60 |
__import__(module) |
61 | 61 |
mod = sys.modules[module] |
62 |
- |