mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 08:40:36 +03:00
Removed continue
This commit is contained in:
parent
1036aa74a7
commit
2a703a2d4c
|
@ -3371,7 +3371,6 @@ def open(
|
||||||
except (SyntaxError, IndexError, TypeError, struct.error) as e:
|
except (SyntaxError, IndexError, TypeError, struct.error) as e:
|
||||||
if WARN_POSSIBLE_FORMATS:
|
if WARN_POSSIBLE_FORMATS:
|
||||||
warning_messages.append(i + " opening failed. " + str(e))
|
warning_messages.append(i + " opening failed. " + str(e))
|
||||||
continue
|
|
||||||
except BaseException:
|
except BaseException:
|
||||||
if exclusive_fp:
|
if exclusive_fp:
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user