convert: fixed python2.3 incompatibility in bzr source (generator expression)
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 02 Oct 2008 15:48:57 +0200
changeset 7060 972cce34f345
parent 7059 6a76cf980999
child 7061 8b874f8cd29f
convert: fixed python2.3 incompatibility in bzr source (generator expression)
hgext/convert/bzr.py
--- a/hgext/convert/bzr.py	Wed Oct 01 08:41:18 2008 -0400
+++ b/hgext/convert/bzr.py	Thu Oct 02 15:48:57 2008 +0200
@@ -196,7 +196,7 @@
         <http://bazaar-vcs.org/GhostRevision>
         """
         parentmap = self.sourcerepo.get_parent_map(ids)
-        parents = tuple(parent for parent in ids if parent in parentmap)
+        parents = tuple([parent for parent in ids if parent in parentmap])
         return parents
 
     def recode(self, s, encoding=None):