From 3cef7fe7fc81c1495a461a8594b1df69467536ea Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 12 Oct 2019 13:32:04 -0700 Subject: Refactor tests --- libmat2/exiftool.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libmat2/exiftool.py') diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py index 2e83f13..024f490 100644 --- a/libmat2/exiftool.py +++ b/libmat2/exiftool.py @@ -29,8 +29,7 @@ class ExiftoolParser(abstract.AbstractParser): def _lightweight_cleanup(self) -> bool: if os.path.exists(self.output_filename): - try: - # exiftool can't force output to existing files + try: # exiftool can't force output to existing files os.remove(self.output_filename) except OSError as e: # pragma: no cover logging.error("The output file %s is already existing and \ -- cgit v1.3