Skip to content
Snippets Groups Projects
Commit aa0ff643 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Improve a bit the debug mode

parent dd9ead4e
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment