Skip to content

Commit

Permalink
No string exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Mar 11, 2012
1 parent f67f95e commit 1da436a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zope2/utilities/requestprofiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1da436a

Please sign in to comment.