diff options
| -rwxr-xr-x | mat2 | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -117,6 +117,7 @@ def clean_meta(filename: str, is_lightweight: bool, policy: UnknownMemberPolicy) | |||
| 117 | p.lightweight_cleaning = is_lightweight | 117 | p.lightweight_cleaning = is_lightweight |
| 118 | 118 | ||
| 119 | try: | 119 | try: |
| 120 | logging.debug('Cleaning %s…' % filename) | ||
| 120 | return p.remove_all() | 121 | return p.remove_all() |
| 121 | except RuntimeError as e: | 122 | except RuntimeError as e: |
| 122 | print("[-] %s can't be cleaned: %s" % (filename, e)) | 123 | print("[-] %s can't be cleaned: %s" % (filename, e)) |
| @@ -157,7 +158,7 @@ def main() -> int: | |||
| 157 | args = arg_parser.parse_args() | 158 | args = arg_parser.parse_args() |
| 158 | 159 | ||
| 159 | if args.verbose: | 160 | if args.verbose: |
| 160 | logging.basicConfig(level=logging.INFO) | 161 | logging.getLogger().setLevel(logging.DEBUG) |
| 161 | 162 | ||
| 162 | if not args.files: | 163 | if not args.files: |
| 163 | if args.list: | 164 | if args.list: |
