Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix autoconf

  • Loading branch information...
commit b28d5f2bfe56fe6f5223b5939cd19a24aa2697b2 1 parent f5781f2
mag- authored

Showing 1 changed file with 2 additions and 7 deletions. Show diff stats Hide diff stats

  1. +2 7 munin/cassandra.py
9 munin/cassandra.py
@@ -24,13 +24,8 @@ def __init__(self, *args, **kwargs):
24 24 self.keyspaces = ["system"]
25 25
26 26 def autoconf(self):
27   - try:
28   - self.cfstats()
29   - except:
30   - return False
31   - else:
32   - return True
33   -
  27 + return self.cfstats()
  28 +
34 29 def execute_nodetool(self, cmd):
35 30 p = Popen([self.nodetool_path, "-host", self.host, cmd], stdout=PIPE)
36 31 output = p.communicate()[0]

0 comments on commit b28d5f2

Please sign in to comment.
Something went wrong with that request. Please try again.