Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

runtornado: Honor the --skip-checks flag.

Alex Vandiverd341e6ced1ba
diff --git a/zerver/management/commands/runtornado.py b/zerver/management/commands/runtornado.py
index 81ca7f585be..2669498b8ef 100644
--- a/zerver/management/commands/runtornado.py
+++ b/zerver/management/commands/runtornado.py
@@ -107,7 +107,8 @@ class Command(BaseCommand):
# We pass display_num_errors=False, since Django will
# likely display similar output anyway.
- self.check(display_num_errors=False)
+ if not options["skip_checks"]:
+ self.check(display_num_errors=False)
print(f"Tornado server (re)started on port {port}")
if settings.USING_RABBITMQ: