summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2022-11-21 17:09:25 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2022-11-21 17:09:25 (GMT)
commitf7892e95bd3f9334b2dea51134e30806b699c1c3 (patch)
tree112bad3cb1531e91007db88e1e457640367dde7c
parent870de1d254e92a4445b0dcbc880a5affb3ab928c (diff)
downloadmisc-fred-main.zip
misc-fred-main.tar.gz
misc-fred-main.tar.bz2
grandlyon: add new category types to copyHEADmain
-rwxr-xr-xgrandlyon/scripts/copy-wcs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/grandlyon/scripts/copy-wcs.py b/grandlyon/scripts/copy-wcs.py
index 04c0794..55d768f 100755
--- a/grandlyon/scripts/copy-wcs.py
+++ b/grandlyon/scripts/copy-wcs.py
@@ -38,7 +38,9 @@ def copy(orig, dest, dest_city):
fd.write(src)
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):
orig_base_dir = '/var/lib/wcs/%s' % orig_site
elif os.path.exists('/var/lib/wcs/tenants/%s' % orig_site):