Skip to content

Commit

Permalink
Simple cleanup of excessive white space.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Rawks authored and vvuksan committed Sep 21, 2010
1 parent b3e130d commit f49c7e8
Showing 1 changed file with 1 addition and 120 deletions.
121 changes: 1 addition & 120 deletions memcached/python_modules/memcached.py
Expand Up @@ -209,7 +209,7 @@ def metric_init(params):

# Tokyo Tyrant
if "type" in params and params["type"].lower().find("tokyo") == 0:
dtmp = descriptors[:] # copy list
dtmp = descriptors[:]
for d in dtmp:
if d["name"] in [
mp+"_bytes_read",
Expand Down Expand Up @@ -277,8 +277,6 @@ def metric_cleanup():
params = {
"host" : "localhost",
"port" : 11211,
# "metrix_prefix" : "mc101",

# "host" : "tt101",
# "port" : 1978,
# "type" : "Tokyo Tyrant",
Expand All @@ -287,13 +285,6 @@ def metric_cleanup():
}
metric_init(params)

# for d in descriptors:
# print ''' metric {
# name = "%s"
# title = "%s"
# value_threshold = 0
# }''' % (d["name"], d["description"])

while True:
for d in descriptors:
v = d['call_back'](d['name'])
Expand All @@ -305,113 +296,3 @@ def metric_cleanup():
except:
traceback.print_exc()
os._exit(1)














































































































0 comments on commit f49c7e8

Please sign in to comment.