# HG changeset patch # User souliane # Date 1401378833 -7200 # Node ID 36f27d1e64b2f9d450e7bbbd6ec48ff3063dc9a6 # Parent 1eeed802819919146a1fb45e15c8c842c0456eca browser_side: avoid warning "list comprehension redefines 'group' from line XXX" diff -r 1eeed8028199 -r 36f27d1e64b2 src/browser/contact.py --- a/src/browser/contact.py Thu May 29 17:49:59 2014 +0200 +++ b/src/browser/contact.py Thu May 29 17:53:53 2014 +0200 @@ -112,7 +112,7 @@ _item.addMouseListener(self._parent) DOM.setStyleAttribute(_item.getElement(), "cursor", "pointer") index = 0 - for group_ in [group.group for group in self.getChildren()]: + for group_ in [child.group for child in self.getChildren()]: if group_ > group: break index += 1