diff options
Diffstat (limited to 'git/refs/remote.py')
| -rw-r--r-- | git/refs/remote.py | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/git/refs/remote.py b/git/refs/remote.py index 1f256b75..4fc784d1 100644 --- a/git/refs/remote.py +++ b/git/refs/remote.py @@ -1,9 +1,10 @@ +import os +  from git.util import join_path -from gitdb.util import join -from .head import Head +import os.path as osp -import os +from .head import Head  __all__ = ["RemoteReference"] @@ -36,7 +37,7 @@ class RemoteReference(Head):          # and delete remainders manually          for ref in refs:              try: -                os.remove(join(repo.git_dir, ref.path)) +                os.remove(osp.join(repo.git_dir, ref.path))              except OSError:                  pass          # END for each ref  | 
