Make the local userfiles 404 if the file is not there. Remove some extraneous logging from the trigger.

This commit is contained in:
jakedt 2014-04-16 22:43:57 -04:00
parent be728ceccb
commit 893e5136a0
2 changed files with 4 additions and 2 deletions

View file

@ -275,7 +275,6 @@ class GithubBuildTrigger(BuildTrigger):
tarball_subdir = ''
with SpooledTemporaryFile(CHUNK_SIZE) as tarball:
for chunk in download_archive.iter_content(CHUNK_SIZE):
logger.debug('Writing chunk of size: %s', len(chunk))
tarball.write(chunk)
# Seek to position 0 to make tarfile happy