From a9312a3e265fa4bd3c030a76dec1ac361ad881e3 Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Thu, 2 Mar 2017 15:28:01 -0800 Subject: [PATCH] repo_gitmodules_path -> repo_gitmodules_abspath Fix typo in the naming. --- git_archive_all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git_archive_all.py b/git_archive_all.py index 8903814..3c1331f 100755 --- a/git_archive_all.py +++ b/git_archive_all.py @@ -316,9 +316,9 @@ def walk_git_files(self, repo_path=''): self.run_shell("git submodule update", repo_abspath) try: - repo_gitmodules_path = path.join(repo_abspath, ".gitmodules") + repo_gitmodules_abspath = path.join(repo_abspath, ".gitmodules") - with open(repo_gitmodules_path) as f: + with open(repo_gitmodules_abspath) as f: lines = f.readlines() for l in lines: