diff options
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 69093fb..5b6880d 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -6218,7 +6218,7 @@ def _save_old(path): try: copy_fn(path, path + ".old") - except: + except Exception: # Ignore errors from 'path' missing as well as other errors. # <filename>.old file is usually more of a nice-to-have, and not worth # erroring out over e.g. if <filename>.old happens to be a directory or |
