git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
indent change
[monitor.git]
/
comon.py
diff --git
a/comon.py
b/comon.py
index
75d4165
..
7344df3
100755
(executable)
--- a/
comon.py
+++ b/
comon.py
@@
-42,10
+42,10
@@
COMONURL = "http://summer.cs.princeton.edu/status/tabulator.cgi?table=table_node
def _tohash(rawdata):
# First line Comon returns is list of keys with respect to index
def _tohash(rawdata):
# First line Comon returns is list of keys with respect to index
- keys = rawdata.readline().rstrip().split(", ")
- l_host = []
- hash = {}
try:
try:
+ keys = rawdata.readline().rstrip().split(", ")
+ l_host = []
+ hash = {}
i_ignored = 0
for line in rawdata.readlines():
l_host = line.rstrip().split(", ") # split the line on ', '
i_ignored = 0
for line in rawdata.readlines():
l_host = line.rstrip().split(", ") # split the line on ', '