Make the local userfiles 404 if the file is not there. Remove some extraneous logging from the trigger.
This commit is contained in:
parent
be728ceccb
commit
893e5136a0
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue