Early import project api

This commit is contained in:
Julien Duponchelle
2016-07-21 14:48:13 +02:00
parent 14f6bd60fb
commit b5ab53bbe9
8 changed files with 221 additions and 4 deletions

View File

@ -409,7 +409,7 @@ class ProjectHandler:
# We write the content to a temporary location and after we extract it all.
# It could be more optimal to stream this but it is not implemented in Python.
# Spooled means the file is temporary kept in memory until max_size is reached
# Spooled means the file is temporary kept in memory until max_size is reached
try:
with tempfile.SpooledTemporaryFile(max_size=10000) as temp:
while True: