Skip to content

Commit

Permalink
FileNotFoundError -> IOError
Browse files Browse the repository at this point in the history
To support Python 2
Refs #37
  • Loading branch information
Kentzo committed Mar 2, 2017
1 parent 502ea53 commit 5924ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_archive_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def walk_git_files(self, repo_path=''):

for submodule_file_path in self.walk_git_files(submodule_path):
yield submodule_file_path
except FileNotFoundError:
except IOError:
pass

@staticmethod
Expand Down

0 comments on commit 5924ddd

Please sign in to comment.