Skip to content

Commit

Permalink
Backport r124566 from the trunk.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Mar 11, 2012
1 parent 6423b76 commit e30a7a0
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 @@ -814,7 +814,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 e30a7a0

Please sign in to comment.