]> git.phdru.name Git - ppu.git/blobdiff - scripts/cmp.py
Cleanup: Fix flake8 E722 do not use bare except
[ppu.git] / scripts / cmp.py
index 0168bec40e2061988c0865f72b56586ff548f567..fdc40417bf02649aa1f4034e2479547b39b9607b 100755 (executable)
@@ -29,7 +29,7 @@ if show_pbar:
 if show_pbar:
     try:
         size = os.path.getsize(fname1)
-    except:
+    except Exception:
         print(fname1, ": no such file")
         sys.exit(1)