From 22d8167786a65c3cd994a4aa1127f722cc2c09de Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 22 Oct 2011 19:30:00 +0000 Subject: [PATCH] Allow a list as well as a tuple in Britney.do_hint --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index d8b03a8..5c4ddf8 100755 --- a/britney.py +++ b/britney.py @@ -2733,7 +2733,7 @@ class Britney: "hint": 0, "force-hint": -1,} - if isinstance(pkgvers[0], tuple): + if isinstance(pkgvers[0], tuple) or isinstance(pkgvers[0], list): _pkgvers = [ HintItem('%s/%s' % (p, v)) for (p,v) in pkgvers ] else: _pkgvers = pkgvers