Open epcim opened 7 years ago
Poor fix was like handle 400 error code, gerrit.py:
curl -s 'https://REPOURL/gerrit/changes/?q=is:abandoned+age:7d' ----------------
def __init__(self, baseurl, prefix): --------------------------------------------
def join_URL_frags(base, query): ------------------------------------------------
def get_query_result(self, url):
log.debug('url = {0}'.format(url))
res = self.opener.open(url)
if res.getcode() != 200 and res.getcode() != 400:
raise IOError(
'Cannot retrieve list of changes ({0})'.format(res.getcode()))
if res.getcode() == 400:
return {}
res(ponse) in such case contains 'epcim was not found' (where epcim is owner). possibly related to #132
I have multiple users,emails configured in general section. I use multiple gerrits.