From e63ace15f82572967eb93d20948942ccd2ebf209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 22 Jun 2021 10:33:27 +0200 Subject: [PATCH] grand lyon: include carddefs when copying tenant --- grandlyon/scripts/copy-wcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):