From 18fb2d9e8cbc5757e287bc57766920f2330910db Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 5 Mar 2014 20:26:27 +0100 Subject: [PATCH] fix list_command --- osclib/list_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osclib/list_command.py b/osclib/list_command.py index 09c25968..1f66a47d 100644 --- a/osclib/list_command.py +++ b/osclib/list_command.py @@ -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')