avoid clearing cached hub version
This commit is contained in:
parent
62f279ad43
commit
8e6737a116
1 changed files with 3 additions and 1 deletions
|
|
@ -3079,7 +3079,9 @@ class ClientSession(object):
|
|||
warnings.simplefilter("ignore")
|
||||
r = self.rsession.post(handler, **callopts)
|
||||
r.raise_for_status()
|
||||
self.__hub_version = r.headers.get('Koji-Version')
|
||||
hub_version = r.headers.get('Koji-Version')
|
||||
if hub_version:
|
||||
self.__hub_version = hub_version
|
||||
try:
|
||||
ret = self._read_xmlrpc_response(r)
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue