Hi, here is a (quick) fix:
--- debianbts.py.orig 2014-06-04 17:03:54.427708705 +0200
+++ debianbts.py 2014-06-04 17:04:43.756113589 +0200
@@ -254,7 +254,7 @@
bug.blockedby = [int(i) for i in str(tmp['blockedby']).split()]
bug.unarchived = bool(tmp["unarchived"])
bug.summary = _uc(tmp['summary'])
- bug.affects = [_uc(i) for i in tmp['affects']]
+ bug.affects = [_uc(i) for i in tmp['affects'].split(',')]
bug.log_modified = datetime.utcfromtimestamp(tmp['log_modified'])
bug.location = _uc(tmp['location'])
bug.archived = bool(tmp["archived"])
To be more robust against future changes in the API one probably
should also skip leading and trailing whitespace.
-Ralf.
--
Ralf Treinen
Laboratoire Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.pps.univ-paris-diderot.fr/~treinen/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]