From 7e50ee34850a0f5db87417b91a4a288268fb4664 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 28 Oct 2010 11:22:16 -0700 Subject: Support out of band processing of commands. --- fastimport/parser.py | 4 ++-- 1 file 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): -- cgit v1.2.1