Remove redundant commented code [CI skip]

This commit is contained in:
hugovk 2014-05-27 14:39:33 +03:00
parent fd05e9c756
commit d7ed249b29

View File

@ -2155,7 +2155,6 @@ def open(fp, mode="r"):
factory, accept = OPEN[i]
if not accept or accept(prefix):
fp.seek(0)
# return factory(fp, filename)
im = factory(fp, filename)
_decompression_bomb_check(im.size)
return im
@ -2171,7 +2170,6 @@ def open(fp, mode="r"):
factory, accept = OPEN[i]
if not accept or accept(prefix):
fp.seek(0)
# return factory(fp, filename)
im = factory(fp, filename)
_decompression_bomb_check(im.size)
return im