mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
requirements: Upgrade pyflakes to 2.0.0.
We fix a few errors that only the new version finds.
This commit is contained in:
@@ -17,7 +17,7 @@ def get_forward_address() -> str:
|
||||
config.read(settings.FORWARD_ADDRESS_CONFIG_FILE)
|
||||
try:
|
||||
return config.get("DEV_EMAIL", "forward_address")
|
||||
except (configparser.NoSectionError, configparser.NoOptionError) as e:
|
||||
except (configparser.NoSectionError, configparser.NoOptionError):
|
||||
return ""
|
||||
|
||||
def set_forward_address(forward_address: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user