projects
/
dtbartle
/
mirror.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4718a13
)
asdf
author
David Bartley
<dtbartle@csclub.uwaterloo.ca>
Tue, 29 Jun 2010 09:23:13 +0000
(
05:23
-0400)
committer
David Bartley
<dtbartle@csclub.uwaterloo.ca>
Tue, 29 Jun 2010 09:23:13 +0000
(
05:23
-0400)
orionroutes.py
patch
|
blob
|
history
diff --git
a/orionroutes.py
b/orionroutes.py
index
b51da20
..
1d377da
100755
(executable)
--- a/
orionroutes.py
+++ b/
orionroutes.py
@@
-85,7
+85,7
@@
def nl_die(func):
ips = [[] for i in range(33)]
for line in sys.stdin:
try:
ips = [[] for i in range(33)]
for line in sys.stdin:
try:
- ip, mask, via
, _, _, _, _, _, _, _ = line.strip().split(',')
+ ip, mask, via
= line.strip().split(',')[0:3]
except ValueError:
die("Malformed line: %s" % line.strip())
except ValueError:
die("Malformed line: %s" % line.strip())