mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
tools: Fix run-dev.py, which had an if False: on a needed import.
This commit is contained in:
@@ -22,8 +22,7 @@ from tornado import web
|
|||||||
from tornado.ioloop import IOLoop
|
from tornado.ioloop import IOLoop
|
||||||
from tornado.websocket import WebSocketHandler, websocket_connect
|
from tornado.websocket import WebSocketHandler, websocket_connect
|
||||||
|
|
||||||
if False:
|
from typing import Any, Callable, Generator, List, Optional
|
||||||
from typing import Any, Callable, Generator, List, Optional
|
|
||||||
|
|
||||||
if 'posix' in os.name and os.geteuid() == 0:
|
if 'posix' in os.name and os.geteuid() == 0:
|
||||||
raise RuntimeError("run-dev.py should not be run as root.")
|
raise RuntimeError("run-dev.py should not be run as root.")
|
||||||
|
|||||||
Reference in New Issue
Block a user