Fix a warning when export

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

No files matched your search

+1 -1
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):