summaryrefslogtreecommitdiff
path: root/git/refs/remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2016-10-22 11:11:25 +0200
committerSebastian Thiel <byronimo@gmail.com>2016-10-22 11:11:25 +0200
commitcaa0ea7a0893fe90ea043843d4e6ad407126d7b8 (patch)
tree2f688eb182f2e76091134c47c4a327681c12e15b /git/refs/remote.py
parentafcd64ebbb770908bd2a751279ff070dea5bb97c (diff)
parentcc77e6b2862733a211c55cf29cc7a83c36c27919 (diff)
downloadgitpython-caa0ea7a0893fe90ea043843d4e6ad407126d7b8.tar.gz
Merge branch 'cygwin' of https://github.com/ankostis/GitPython into ankostis-cygwin
Diffstat (limited to 'git/refs/remote.py')
-rw-r--r--git/refs/remote.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/git/refs/remote.py b/git/refs/remote.py
index b5318bc3..ef69b5db 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