summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2021-06-22 08:33:27 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2021-06-22 08:33:27 (GMT)
commite63ace15f82572967eb93d20948942ccd2ebf209 (patch)
tree59345534fc2117cb0ea50e3b6d3397d1cb819ce3
parent421801766e12e798bae6e7b6da6b6bb80d98f852 (diff)
downloadmisc-fred-e63ace15f82572967eb93d20948942ccd2ebf209.zip
misc-fred-e63ace15f82572967eb93d20948942ccd2ebf209.tar.gz
misc-fred-e63ace15f82572967eb93d20948942ccd2ebf209.tar.bz2
grand lyon: include carddefs when copying tenant
-rwxr-xr-xgrandlyon/scripts/copy-wcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grandlyon/scripts/copy-wcs.py b/grandlyon/scripts/copy-wcs.py
index c937b10..24a5831 100755
--- a/grandlyon/scripts/copy-wcs.py
+++ b/grandlyon/scripts/copy-wcs.py
@@ -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):