grand lyon: include carddefs when copying tenant
This commit is contained in:
parent
421801766e
commit
e63ace15f8
|
@ -37,7 +37,7 @@ def copy(orig, dest, dest_city):
|
|||
fd.write(src)
|
||||
fd.close()
|
||||
|
||||
for object_type in ('formdefs', 'workflows', 'categories', 'datasources', 'models', 'wscalls'):
|
||||
for object_type in ('carddefs', 'formdefs', 'workflows', 'categories', 'datasources', 'models', 'wscalls'):
|
||||
if os.path.exists('/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):
|
||||
|
|
Loading…
Reference in New Issue