diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-06 18:06:28 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-06 18:06:28 +0100 |
commit | 0afb861bc01c53df93dba7858a061d6c274d3151 (patch) | |
tree | 6041295d907a4112934e9a1b75f826ad19ce7f04 /fastimport/commands.py | |
parent | 7e50ee34850a0f5db87417b91a4a288268fb4664 (diff) | |
download | python-fastimport-0afb861bc01c53df93dba7858a061d6c274d3151.tar.gz |
Fix tests.
Diffstat (limited to 'fastimport/commands.py')
-rw-r--r-- | fastimport/commands.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fastimport/commands.py b/fastimport/commands.py index 5c68a76..fe2379b 100644 --- a/fastimport/commands.py +++ b/fastimport/commands.py @@ -208,8 +208,7 @@ class CommitCommand(ImportCommand): # file_iter may be a callable or an iterator if callable(self.file_iter): return self.file_iter() - elif self.file_iter: - return iter(self.file_iter) + return iter(self.file_iter) class FeatureCommand(ImportCommand): |