mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-18 17:00:24 +00:00
Merge PR434: fix pyflakes issues in misc
closes ticket:2898
This commit is contained in:
commit
e8699cd60d
@ -2,7 +2,6 @@
|
||||
|
||||
import os, sys
|
||||
import urllib
|
||||
import json
|
||||
|
||||
configinfo = """\
|
||||
graph_title Tahoe Root Directory Size
|
||||
@ -22,6 +21,3 @@ url = os.environ["url"]
|
||||
|
||||
data = int(urllib.urlopen(url).read().strip())
|
||||
print "space.value %d" % data
|
||||
|
||||
|
||||
|
||||
|
@ -39,7 +39,6 @@ def predict_future(past_s):
|
||||
# ((start, end, step), (name1, name2, ...), [(data1, data2, ..), ...])
|
||||
(start_time, end_time ,step) = d[0]
|
||||
#print format_time(start_time), " - ", format_time(end_time), step
|
||||
names = d[1]
|
||||
#for points in d[2]:
|
||||
# point = points[0]
|
||||
# print point
|
||||
@ -105,4 +104,3 @@ if remaining_2wk is not None:
|
||||
print "days_2wk.value", remaining_2wk
|
||||
samples["remaining_2wk"] = remaining_2wk
|
||||
write_to_file(samples)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user