summaryrefslogtreecommitdiff
path: root/git/objects/submodule/base.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-06 15:42:02 +0100
committerYobmod <yobmod@gmail.com>2021-07-06 15:42:02 +0100
commite6f340cf8617ceb99f6da5f3db902a69308cdec7 (patch)
tree364949639c25ab8dd2095f194ef03bf16a076718 /git/objects/submodule/base.py
parentdeafa6a0ab837dffb8f78177f7c22d21ac65bf62 (diff)
downloadgitpython-e6f340cf8617ceb99f6da5f3db902a69308cdec7.tar.gz
Rmv runtime_checkable < py3.8
Diffstat (limited to 'git/objects/submodule/base.py')
-rw-r--r--git/objects/submodule/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py
index 3df2b41a..514fcfea 100644
--- a/git/objects/submodule/base.py
+++ b/git/objects/submodule/base.py
@@ -927,7 +927,7 @@ class Submodule(IndexObject, TraversableIterableObj):
import gc
gc.collect()
try:
- rmtree(wtd) # type: ignore ## str()?
+ rmtree(str(wtd))
except Exception as ex:
if HIDE_WINDOWS_KNOWN_ERRORS:
raise SkipTest("FIXME: fails with: PermissionError\n {}".format(ex)) from ex