mirror of https://github.com/zulip/zulip.git
Add type: ignore to wildcard imports in pythonrc.py.
This commit is contained in:
parent
b6dd6413d0
commit
4352a022cd
|
@ -2,7 +2,7 @@ from __future__ import print_function
|
||||||
try:
|
try:
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from zerver.models import *
|
from zerver.models import *
|
||||||
from zerver.lib.actions import *
|
from zerver.lib.actions import * # type: ignore # Otherwise have duplicate imports with previous line
|
||||||
except Exception:
|
except Exception:
|
||||||
import traceback
|
import traceback
|
||||||
print("\nException importing Zulip core modules on startup!")
|
print("\nException importing Zulip core modules on startup!")
|
||||||
|
|
Loading…
Reference in New Issue