Fix for #30 (Client#build tag param now works properly)

This commit is contained in:
shin- 2013-08-27 01:53:33 +02:00
parent 81b870f523
commit 96e8e55655
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class Client(requests.Session):
context = self._tar(path)
u = self._url('/build')
params = { 'tag': tag, 'remote': remote, 'q': quiet, 'nocache': nocache }
params = { 't': tag, 'remote': remote, 'q': quiet, 'nocache': nocache }
if context is not None:
headers = { 'Content-Type': 'application/tar' }
res = self._result(self.post(u, context, params=params,