Fix wrong variable use.

This commit is contained in:
Tomáš Chvátal 2013-08-28 09:27:50 +02:00
parent cc6bf70518
commit cd3d0a6022

View File

@ -110,7 +110,7 @@ def _group_find_request_group(self, request, opts):
res.append(int(rq.attrib['id']))
if len(res) > 1:
raise oscerr.ServiceRuntimeError('There are multiple group requests for package "{0}". This should not happen.'.format(package))
raise oscerr.ServiceRuntimeError('There are multiple group requests for package "{0}". This should not happen.'.format(request))
if len(res) == 0 or res[0] == 0:
#raise oscerr.ServiceRuntimeError('There is no grouping request for package "{0}"'.format(package))