mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
python: Remove duplicates of global imports inside functions.
Neither of these appears to have been intentional.
This commit is contained in:
@@ -117,8 +117,6 @@ class ReturnEnabled(logging.Filter):
|
||||
|
||||
class RequireReallyDeployed(logging.Filter):
|
||||
def filter(self, record: logging.LogRecord) -> bool:
|
||||
from django.conf import settings
|
||||
|
||||
return settings.PRODUCTION
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user