From 5924dddcd5c846559c6b1c20913a4d8c6dce7e1f Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Thu, 2 Mar 2017 14:42:57 -0800 Subject: [PATCH] FileNotFoundError -> IOError To support Python 2 Refs #37 --- git_archive_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_archive_all.py b/git_archive_all.py index 2aede1d..9237f5d 100755 --- a/git_archive_all.py +++ b/git_archive_all.py @@ -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