diff options
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): |