summaryrefslogtreecommitdiff
path: root/obsapi/buildapi.py
diff options
context:
space:
mode:
authorScott Bahling <sbahling@suse.de>2018-08-03 16:42:16 +0200
committerScott Bahling <sbahling@suse.de>2018-08-03 16:42:41 +0200
commitb15e41a14f03d66f54353a7185cc57319c16ee17 (patch)
tree33f4bf8034060398f7248987a379da456ad32c52 /obsapi/buildapi.py
parent494f2c4dc9c5d1937545e0af54345c4d0d578bee (diff)
downloadobsapi-b15e41a14f03d66f54353a7185cc57319c16ee17.tar.gz
obsapi-b15e41a14f03d66f54353a7185cc57319c16ee17.tar.xz
obsapi-b15e41a14f03d66f54353a7185cc57319c16ee17.zip
Add streaming option for HTTP get method
Diffstat (limited to 'obsapi/buildapi.py')
-rw-r--r--obsapi/buildapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/obsapi/buildapi.py b/obsapi/buildapi.py
index 40af2f8..893a213 100644
--- a/obsapi/buildapi.py
+++ b/obsapi/buildapi.py
@@ -17,11 +17,11 @@ class ObsBuildApi(ObsHttpApi):
return super(ObsBuildApi, self).post(*args, **kwargs)
def get(self, prj='', repo='', arch='', pkg='', binaryname='',
- view=None, binary_get=False):
+ view=None, binary_get=False, **kwargs):
if binaryname:
binary_get = True
return self.__get(prj, repo, arch, pkg, binaryname,
- view=view, binary_get=binary_get)
+ view=view, binary_get=binary_get, **kwargs)
def get_builddepinfo(self, prj, pkg, repo, arch):
return self.__get(prj, repo, arch, '_builddepinfo', package=pkg)