mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a3eae0b6f0
commit
532aee926c
@@ -119,8 +119,8 @@ def parser() -> argparse.ArgumentParser:
|
||||
|
||||
def maybe_gzip(logfile_name: str) -> TextIO:
|
||||
if logfile_name.endswith(".gz"):
|
||||
return gzip.open(logfile_name, "rt") # noqa: SIM115
|
||||
return open(logfile_name) # noqa: SIM115
|
||||
return gzip.open(logfile_name, "rt")
|
||||
return open(logfile_name)
|
||||
|
||||
|
||||
NGINX_LOG_LINE_RE = re.compile(
|
||||
|
||||
Reference in New Issue
Block a user