Revert a change to the way zip files are extracted.

This commit is contained in:
jakedt 2014-04-04 16:06:41 -04:00
parent e685dced84
commit 37ad8a414a

View file

@ -328,7 +328,7 @@ class DockerfileBuildWorker(Worker):
# Save the zip file to temp somewhere
with TemporaryFile() as zip_file:
zip_file.write(request_file.raw)
zip_file.write(request_file.content)
to_extract = ZipFile(zip_file)
to_extract.extractall(build_dir)