projects
/
pywienerlinien
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a33e95
)
fixed small python 2.5 incompatibility
author
Florian Schweikert
<kelvan@logic.at>
Sat, 24 Sep 2011 14:19:24 +0000
(16:19 +0200)
committer
Florian Schweikert
<kelvan@logic.at>
Sat, 24 Sep 2011 14:19:24 +0000
(16:19 +0200)
scotty.py
patch
|
blob
|
history
diff --git
a/scotty.py
b/scotty.py
index
cf52b13
..
060ea52
100644
(file)
--- a/
scotty.py
+++ b/
scotty.py
@@
-234,8
+234,8
@@
if __name__ == '__main__':
overviews = parser.overview
for overview in overviews:
print '[%s] %s-%s (%s)' % (overview['date'], overview['time'][0], overview['time'][1], overview['duration'])
- except ParserError as e:
- print e.message
+ except ParserError:
+ print 'parsererror'
elif state == PageType.CORRECTION:
try:
cor = parser.get_correction()