From b4408eeafe5f78771200079baa454d033e402dc1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 14 Sep 2006 07:52:39 +0000 Subject: [PATCH] Remove an unused hardlink_active() function. svn path=/main/trunk/; revision=4449 --- pym/portage_locks.py | 5 ----- 1 file changed, 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 -- 2.26.2