Skip to content

Commit

Permalink
repo_gitmodules_path -> repo_gitmodules_abspath
Browse files Browse the repository at this point in the history
Fix typo in the naming.
  • Loading branch information
Kentzo committed Mar 2, 2017
1 parent 5168491 commit a9312a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_archive_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a9312a3

Please sign in to comment.