diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-12 16:45:05 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-12 16:45:05 +0000 |
commit | 05a056a409042d233972c608a8e526e8fd0af262 (patch) | |
tree | 0d53b98448139199f8bdf8fd4e2f16a837b75bf0 /synapse/metrics | |
parent | Delete unused import of NOT_READY_YET (diff) | |
download | synapse-05a056a409042d233972c608a8e526e8fd0af262.tar.xz |
Appease pyflakes
Diffstat (limited to 'synapse/metrics')
-rw-r--r-- | synapse/metrics/__init__.py | 2 |
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) |