summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-04-01 19:17:38 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-04-01 19:17:38 +0100
commitef1e019840ee8ba17b45754ef223a710ce23553c (patch)
treec48fa96d2e61902f5929d13bf2a5c88c77ea4f62
parentReport process open filehandles in metrics (diff)
downloadsynapse-ef1e019840ee8ba17b45754ef223a710ce23553c.tar.xz
Appease pep8
-rw-r--r--synapse/metrics/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py

index 6564b03eee..9233ea3da9 100644 --- a/synapse/metrics/__init__.py +++ b/synapse/metrics/__init__.py
@@ -122,6 +122,7 @@ TYPES = { stat.S_IFIFO: "FIFO", } + def _process_fds(): counts = {(k,): 0 for k in TYPES.values()} counts[("other",)] = 0