summaryrefslogtreecommitdiff
path: root/git/objects
diff options
context:
space:
mode:
authorMohit Solanki <mohitsolanki619@gmail.com>2019-09-10 13:26:55 +0530
committerSebastian Thiel <byronimo@gmail.com>2019-09-10 13:15:09 +0200
commita2d8a5144bd8c0940d9f2593a21aec8bebf7c035 (patch)
treee7a7874da27245018b7cee9efeccc1622023859c /git/objects
parent07657929bc6c0339d4d2e7e1dde1945199374b90 (diff)
downloadgitpython-a2d8a5144bd8c0940d9f2593a21aec8bebf7c035.tar.gz
Fix #889: Add DeepSource config and fix some major issues
Diffstat (limited to 'git/objects')
-rw-r--r--git/objects/submodule/base.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py
index a75826eb..384f7c5f 100644
--- a/git/objects/submodule/base.py
+++ b/git/objects/submodule/base.py
@@ -864,9 +864,8 @@ class Submodule(IndexObject, Iterable, Traversable):
rmtree(wtd)
except Exception as ex:
if HIDE_WINDOWS_KNOWN_ERRORS:
- raise SkipTest("FIXME: fails with: PermissionError\n %s", ex)
- else:
- raise
+ raise SkipTest("FIXME: fails with: PermissionError\n {}".format(ex))
+ raise
# END delete tree if possible
# END handle force