diff options
author | Yobmod <yobmod@gmail.com> | 2021-08-02 15:41:17 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-08-02 15:41:17 +0100 |
commit | bef218246c9935f0c31b23a17d1a02ac3810301d (patch) | |
tree | 337b650bc09792117fb42f954a80aa20161ffcb6 /git/util.py | |
parent | 15ace876d98d70c48a354ec8f526d6c8ad6b8d97 (diff) | |
download | gitpython-bef218246c9935f0c31b23a17d1a02ac3810301d.tar.gz |
rmv 3.6 from setup.py
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/util.py b/git/util.py index 63060530..c20be6eb 100644 --- a/git/util.py +++ b/git/util.py @@ -403,8 +403,8 @@ def expand_path(p: Union[None, PathLike], expand_vars: bool = True) -> Optional[ try: p = osp.expanduser(p) # type: ignore if expand_vars: - p = osp.expandvars(p) - return osp.normpath(osp.abspath(p)) + p = osp.expandvars(p) # type: ignore + return osp.normpath(osp.abspath(p)) # type: ignore except Exception: return None |