Commit a15b2c10 by Timothée Peignier

fix syntax

parent 6218e725
......@@ -236,7 +236,7 @@ class SubProcessCompressor(CompressorBase):
try:
pipe.stdin.write(smart_bytes(content))
except IOError, e:
except IOError as e:
message = "Unable to pipe content to command: %s" % command
raise CompressorError(message, e)
pipe.stdin.close()
......
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