diff --git a/tools/show-profile-results.py b/tools/show-profile-results.py index 5adb55c29c..ef773843a8 100755 --- a/tools/show-profile-results.py +++ b/tools/show-profile-results.py @@ -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".)