Commit aa0ff643 authored by jvoisin's avatar jvoisin

Improve a bit the debug mode

parent dd9ead4e
Pipeline #24718 failed with stages
in 32 seconds
......@@ -117,6 +117,7 @@ def clean_meta(filename: str, is_lightweight: bool, policy: UnknownMemberPolicy)
p.lightweight_cleaning = is_lightweight
try:
logging.debug('Cleaning %s…' % filename)
return p.remove_all()
except RuntimeError as e:
print("[-] %s can't be cleaned: %s" % (filename, e))
......@@ -157,7 +158,7 @@ def main() -> int:
args = arg_parser.parse_args()
if args.verbose:
logging.basicConfig(level=logging.INFO)
logging.getLogger().setLevel(logging.DEBUG)
if not args.files:
if args.list:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment