diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-15 16:21:07 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-15 16:21:07 +0100 |
commit | b259098782c2248f6160d2b36d42672d6925023a (patch) | |
tree | 3ac090bb16052e4864dfff710424ec5e69a676c4 /git/objects/submodule/base.py | |
parent | 27c31e2fde54c0587c032ccffdaa7c4ddf5b2ae5 (diff) | |
download | gitpython-b259098782c2248f6160d2b36d42672d6925023a.tar.gz |
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
Diffstat (limited to 'git/objects/submodule/base.py')
-rw-r--r-- | git/objects/submodule/base.py | 3 |
1 files changed, 0 insertions, 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: |