Skip to content

Commit b259098

Browse files
committed
For some reason, the new submodule test still broke on py3
Adjusted code to not check for .gitmodules existence anymore, we will deal with it. Fixes #117
1 parent 27c31e2 commit b259098

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

git/objects/submodule/base.py

-3
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ def _config_parser(cls, repo, parent_commit, read_only):
159159
if not repo.bare and parent_matches_head:
160160
fp_module = cls.k_modules_file
161161
fp_module_path = os.path.join(repo.working_tree_dir, fp_module)
162-
if read_only and not os.path.isfile(fp_module_path):
163-
raise IOError("%s file was not accessible" % fp_module_path)
164-
# END handle existance
165162
fp_module = fp_module_path
166163
else:
167164
try:

0 commit comments

Comments
 (0)