fix list_command

This commit is contained in:
Stephan Kulow 2014-03-05 20:26:27 +01:00
parent 561ea4bf6d
commit 18fb2d9e8c

View File

@ -54,8 +54,8 @@ class ListCommand:
ring = self.api.ring_packages.get(tpkg)
if ring:
print("Request(%d): %s -> %s" % (id, tpkg, ring))
print("Request(%d): %s -> %s" % (rq_id, tpkg, ring))
return
# no ring, no group -> ok
self.api.change_review_state(id, 'accepted', by_group='factory-staging', message='ok')
self.api.change_review_state(rq_id, 'accepted', by_group='factory-staging', message='ok')