summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-28 11:22:16 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-10-28 11:22:16 -0700
commit7e50ee34850a0f5db87417b91a4a288268fb4664 (patch)
treedb3198ac1c6e8b1fd52bc94e5dc91c4052dd46e3
parent2a0e14944d3a559e3d3f759e2d8c2ca59a29305d (diff)
downloadpython-fastimport-7e50ee34850a0f5db87417b91a4a288268fb4664.tar.gz
Support out of band processing of commands.
-rw-r--r--fastimport/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fastimport/parser.py b/fastimport/parser.py
index 9d36dcb..e2d0e42 100644
--- a/fastimport/parser.py
+++ b/fastimport/parser.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 Canonical Ltd
+# Copyright (C) 2008-2010 Canonical Ltd
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -383,7 +383,7 @@ class ImportParser(LineBasedParser):
else:
break
return commands.CommitCommand(ref, mark, author, committer, message,
- from_, merges, self.iter_file_commands, lineno=lineno,
+ from_, merges, list(self.iter_file_commands()), lineno=lineno,
more_authors=more_authors, properties=properties)
def _parse_feature(self, info):