summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas ROCHE <nroche@entrouvert.com>2019-08-07 08:43:37 (GMT)
committerNicolas ROCHE <nroche@entrouvert.com>2019-08-07 10:20:53 (GMT)
commit9c8d76ddbcde2075f941f81065884527c641c550 (patch)
tree8984da2b38bf910563a3ba7db7da8481b4a80e1c
parent546336acc75f1922929b01b88463d54d568a5eea (diff)
downloadcombo-wip/35289-import-site-fails-if-roles-are-missing.zip
combo-wip/35289-import-site-fails-if-roles-are-missing.tar.gz
combo-wip/35289-import-site-fails-if-roles-are-missing.tar.bz2
data: import-site query fails with exit code 2 when roles are missing (#35289)wip/35289-import-site-fails-if-roles-are-missing
-rw-r--r--combo/data/management/commands/import_site.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/combo/data/management/commands/import_site.py b/combo/data/management/commands/import_site.py
index c0aaf63..d7a0960 100644
--- a/combo/data/management/commands/import_site.py
+++ b/combo/data/management/commands/import_site.py
@@ -46,3 +46,4 @@ class Command(BaseCommand):
clean=options['clean'])
except MissingGroups as e:
sys.stderr.write(force_text(e) + '\n')
+ exit(2)