changeset 7060:972cce34f345

convert: fixed python2.3 incompatibility in bzr source (generator expression)
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 02 Oct 2008 15:48:57 +0200
parents 6a76cf980999
children 8b874f8cd29f
files hgext/convert/bzr.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):