diff options
| author | Scott Bahling <sbahling@suse.com> | 2020-09-03 18:58:26 +0200 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.com> | 2020-09-03 18:58:26 +0200 |
| commit | 227641df0c5e5f8425215e7cd9f6bcda946ce443 (patch) | |
| tree | 07920af45ff14b386e22582c3e1e81b4bafee5d8 /obsapi | |
| parent | 44a82f72803b736783f3ca41f309e7202908e6f5 (diff) | |
| download | obsapi-227641df0c5e5f8425215e7cd9f6bcda946ce443.tar.gz obsapi-227641df0c5e5f8425215e7cd9f6bcda946ce443.tar.xz obsapi-227641df0c5e5f8425215e7cd9f6bcda946ce443.zip | |
Pass None in stead of emptystring
To make sure we don't trigger a binary get
Diffstat (limited to 'obsapi')
| -rw-r--r-- | obsapi/buildapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obsapi/buildapi.py b/obsapi/buildapi.py index d665612..45eba95 100644 --- a/obsapi/buildapi.py +++ b/obsapi/buildapi.py @@ -114,7 +114,7 @@ class ObsBuildApi(ObsHttpApi): def get_log(self, prj, repo, arch, pkg, **kwargs): return self.__get(prj, repo, arch, pkg, '_log', **kwargs) - def get_repository(self, prj, repo, arch, binaryname=''): + def get_repository(self, prj, repo, arch, binaryname=None): # Important! We call self.get() to handle binary get properly return self.get(prj, repo, arch, '_repository', binaryname) |
