projects
/
pywienerlinien
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2891d9d
)
skip station if terminal
author
Florian Schweikert
<kelvan@logic.at>
Fri, 7 Oct 2011 00:28:43 +0000
(
02:28
+0200)
committer
Florian Schweikert
<kelvan@logic.at>
Fri, 7 Oct 2011 00:28:43 +0000
(
02:28
+0200)
itip
patch
|
blob
|
history
diff --git
a/itip
b/itip
index
54ed263
..
049a17d
100755
(executable)
--- a/
itip
+++ b/
itip
@@
-31,6
+31,9
@@
if l and l in lines:
for station in stations[key]:
if s:
if s.startswith(station[0]) or station[0].startswith(s):
+ if station[0] == key:
+ # skip station if destination
+ continue
# FIXME
print '* %s\n %s .....' % (key, station[0]), itip.get_departures(station[1])
else: