grandlyon: add new category types to copy
This commit is contained in:
parent
870de1d254
commit
f7892e95bd
|
@ -38,7 +38,9 @@ def copy(orig, dest, dest_city):
|
||||||
fd.write(src)
|
fd.write(src)
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
for object_type in ('carddefs', 'formdefs', 'workflows', 'categories', 'datasources', 'models', 'wscalls'):
|
for object_type in ('carddefs', 'formdefs', 'workflows', 'categories', 'datasources', 'models', 'wscalls',
|
||||||
|
'carddef_categories', 'workflow_categories', 'block_categories', 'mail_template_categories',
|
||||||
|
'data_source_categories'):
|
||||||
if os.path.exists('/var/lib/wcs/%s' % orig_site):
|
if os.path.exists('/var/lib/wcs/%s' % orig_site):
|
||||||
orig_base_dir = '/var/lib/wcs/%s' % orig_site
|
orig_base_dir = '/var/lib/wcs/%s' % orig_site
|
||||||
elif os.path.exists('/var/lib/wcs/tenants/%s' % orig_site):
|
elif os.path.exists('/var/lib/wcs/tenants/%s' % orig_site):
|
||||||
|
|
Loading…
Reference in New Issue