summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage_locks.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pym/portage_locks.py b/pym/portage_locks.py
index 77169906c..162cd8fd2 100644
--- a/pym/portage_locks.py
+++ b/pym/portage_locks.py
@@ -186,11 +186,6 @@ def unlockfile(mytuple):
def hardlock_name(path):
return path+".hardlock-"+os.uname()[1]+"-"+str(os.getpid())
-def hardlink_active(lock):
- if not os.path.exists(lock):
- return False
- # XXXXXXXXXXXXXXXXXXXXXXXXXX
-
def hardlink_is_mine(link,lock):
try:
return os.stat(link).st_nlink == 2