summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-03-12 16:45:05 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-03-12 16:45:05 +0000
commit05a056a409042d233972c608a8e526e8fd0af262 (patch)
tree0d53b98448139199f8bdf8fd4e2f16a837b75bf0
parentDelete unused import of NOT_READY_YET (diff)
downloadsynapse-05a056a409042d233972c608a8e526e8fd0af262.tar.xz
Appease pyflakes
-rw-r--r--synapse/metrics/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py

index 7b9c9c8bab..dffb8a4861 100644 --- a/synapse/metrics/__init__.py +++ b/synapse/metrics/__init__.py
@@ -81,7 +81,7 @@ def render_all(): for name in sorted(all_metrics.keys()): try: strs += all_metrics[name].render() - except Exception as e: + except Exception: strs += ["# FAILED to render %s" % name] logger.exception("Failed to render %s metric", name)