mirror of https://github.com/zulip/zulip.git
tools: Fix bare except clause.
This commit is contained in:
parent
f3b5683e77
commit
e04afe9bda
|
@ -12,7 +12,7 @@ can find more advanced tools for showing profiler results.
|
|||
|
||||
try:
|
||||
fn = sys.argv[1]
|
||||
except:
|
||||
except IndexError:
|
||||
print('''
|
||||
Please supply a filename. (If you use the profiled decorator,
|
||||
the file will have a suffix of ".profile".)
|
||||
|
|
Loading…
Reference in New Issue