From b259098782c2248f6160d2b36d42672d6925023a Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 15 Jan 2015 16:21:07 +0100 Subject: 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 --- git/objects/submodule/base.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 0bd34999..ae45e3db 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -159,9 +159,6 @@ class Submodule(util.IndexObject, Iterable, Traversable): if not repo.bare and parent_matches_head: fp_module = cls.k_modules_file fp_module_path = os.path.join(repo.working_tree_dir, fp_module) - if read_only and not os.path.isfile(fp_module_path): - raise IOError("%s file was not accessible" % fp_module_path) - # END handle existance fp_module = fp_module_path else: try: -- cgit v1.2.3