Fix a warning when export

This commit is contained in:
Julien Duponchelle
2016-09-19 16:51:15 +02:00
parent f0af7d3c7a
commit 5fd04e1f9e
3 changed files with 9 additions and 7 deletions

View File

@ -299,7 +299,7 @@ class Compute:
response = yield from self._session().request("GET", url, auth=self._auth)
if response.status == 404:
raise aiohttp.web.HTTPNotFound(text="{} not found on compute".format(path))
return response.content
return response
@asyncio.coroutine
def stream_file(self, project, path):