mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
lint: Clean up W503 PEP-8 warning.
This commit is contained in:
@@ -22,8 +22,8 @@ PRODUCTION = config_file.has_option('machine', 'deploy_type')
|
||||
# Zulip run by Zulip, Inc. We will eventually be able to get rid of
|
||||
# them and just have the PRODUCTION flag, but we need them for now.
|
||||
ZULIP_COM_STAGING = PRODUCTION and config_file.get('machine', 'deploy_type') == 'zulip.com-staging'
|
||||
ZULIP_COM = ((PRODUCTION and config_file.get('machine', 'deploy_type') == 'zulip.com-prod')
|
||||
or ZULIP_COM_STAGING)
|
||||
ZULIP_COM = ((PRODUCTION and config_file.get('machine', 'deploy_type') == 'zulip.com-prod') or
|
||||
ZULIP_COM_STAGING)
|
||||
if not ZULIP_COM:
|
||||
raise Exception("You should create your own local settings from prod_settings_template.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user