diff --git a/scripts/malcolm_common.py b/scripts/malcolm_common.py index 1d3383cec..ffb142845 100644 --- a/scripts/malcolm_common.py +++ b/scripts/malcolm_common.py @@ -150,7 +150,7 @@ def ReplaceBindMountLocation(line, location, linePrefix): def same_file_or_dir(path1, path2): try: return os.path.samefile(path1, path2) - except: + except Exception: return False