Commit d1deaf0b authored by Romain Bignon's avatar Romain Bignon

fix selection of a product with comparoob

parent 07734461
weboob (0.c-5) unstable; urgency=low
* Fix selection of a product with comparoob.
-- Romain Bignon <> Tue, 27 Nov 2012 14:06:59 +0100
weboob (0.c-4.1) unstable; urgency=low
* Non-maintainer upload, already approved by the maintainer.
From: Romain Bignon <>
Origin: upstream,;a=commitdiff;h=ccdc73e99f634cf2b1f66a51d529ca89a5551b64
Last-Update: 2012-05-05
Subject: Fix selection of a product
diff --git a/weboob/applications/comparoob/ b/weboob/applications/comparoob/
index c19c7d5..01ab4cc 100644
--- a/weboob/applications/comparoob/
+++ b/weboob/applications/comparoob/
@@ -102,8 +102,8 @@ class Comparoob(ReplApplication):
product = products[0]
print 'What product do you want to compare?'
- for i, product in enumerate(products):
- print ' %s%2d)%s %s' % (self.BOLD, i+1, self.NC,
+ for i, p in enumerate(products):
+ print ' %s%2d)%s %s' % (self.BOLD, i+1, self.NC,
r = int(self.ask(' Select a product', regexp='\d+'))
while product is None:
if r <= 0 or r > len(products):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment