Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

python: Fix string literal concatenation mistakes.

Anders Kaseorg9773c0f1a861
diff --git a/analytics/management/commands/update_analytics_counts.py b/analytics/management/commands/update_analytics_counts.py
index 0cbd22857d1..70b86369e00 100644
--- a/analytics/management/commands/update_analytics_counts.py
+++ b/analytics/management/commands/update_analytics_counts.py
@@ -23,7 +23,7 @@ class Command(BaseCommand):
def add_arguments(self, parser: ArgumentParser) -> None:
parser.add_argument('--time', '-t',
- help='Update stat tables from current state to'
+ help='Update stat tables from current state to '
'--time. Defaults to the current time.',
default=timezone_now().isoformat())
parser.add_argument('--utc',
diff --git a/zerver/middleware.py b/zerver/middleware.py
index 11d65b7ffc6..9fc76c46976 100644
--- a/zerver/middleware.py
+++ b/zerver/middleware.py
@@ -100,7 +100,7 @@ def is_slow_query(time_delta: float, path: str) -> bool:
return True
statsd_blacklisted_requests = [
- 'do_confirm', 'signup_send_confirm', 'new_realm_send_confirm,'
+ 'do_confirm', 'signup_send_confirm', 'new_realm_send_confirm',
'eventslast_event_id', 'webreq.content', 'avatar', 'user_uploads',
'password.reset', 'static', 'json.bots', 'json.users', 'json.streams',
'accounts.unsubscribe', 'apple-touch-icon', 'emoji', 'json.bots',
diff --git a/zerver/webhooks/pingdom/view.py b/zerver/webhooks/pingdom/view.py
index 8a4f566805c..7482ff1b572 100644
--- a/zerver/webhooks/pingdom/view.py
+++ b/zerver/webhooks/pingdom/view.py
@@ -25,7 +25,7 @@ DESC_TEMPLATE = """
SUPPORTED_CHECK_TYPES = (
'HTTP',
- 'HTTP_CUSTOM'
+ 'HTTP_CUSTOM',
'HTTPS',
'SMTP',
'POP3',