diff fetch_command.py @ 182:47d25d61abfa

remove generators (compat with python2.3)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 13 Jan 2009 15:39:22 +0100
parents e37f9d3fd5e7
children d3ea6c98a086
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -127,9 +127,9 @@ def replay_convert_rev(hg_editor, svn, r
             hg_editor.ui.flush()
             if p[-1] == '/':
                 dirpath = p[len(rootpath):]
-                files_to_grab.update((dirpath + f for f,k in
+                files_to_grab.update([dirpath + f for f,k in
                                       svn.list_files(dirpath, r.revnum)
-                                      if k == 'f'))
+                                      if k == 'f'])
             else:
                 files_to_grab.add(p[len(rootpath):])
         hg_editor.ui.status('\nFetching files...\n')