Commits

Benoit Boissinot committed 47d25d6

remove generators (compat with python2.3)

  • Participants
  • Parent commits e37f9d3

Comments (0)

Files changed (2)

File fetch_command.py

             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')

File tests/test_rebuildmeta.py

 
 attrs = {'_do_case': _do_case,
          }
-for case in (f for f in os.listdir(test_util.FIXTURES) if f.endswith('.svndump')):
+for case in [f for f in os.listdir(test_util.FIXTURES) if f.endswith('.svndump')]:
     name = 'test_' + case[:-len('.svndump')]
     attrs[name] = buildmethod(case, name, False)
     name += '_stupid'