Commit 1da436a4 authored by Tres Seaver's avatar Tres Seaver

No string exceptions.

parent f67f95e3
......@@ -813,7 +813,7 @@ def main():
elif mode=='urlfocus':
sortf = Sort('start', ascending=1)
else:
raise 'Invalid mode'
raise ValueError('Invalid mode')
req=get_requests(files, start, end, statsfname, writestats, readstats)
analyze(req, top, sortf, start, end, mode, resolution, urlfocusurl,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment