mirror of https://github.com/zulip/zulip.git
56259c7acd
Using sys.exit(1) in a management command makes it impossible to unit test the code in question. The correct approach to do the same thing in Django management commands is to raise CommandError. |
||
---|---|---|
.. | ||
__init__.py | ||
custom_check.py | ||
exclude.py | ||
pep8.py | ||
pyflakes.py |