Remove an unused hardlink_active() function.
authorZac Medico <zmedico@gentoo.org>
Thu, 14 Sep 2006 07:52:39 +0000 (07:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 14 Sep 2006 07:52:39 +0000 (07:52 -0000)
svn path=/main/trunk/; revision=4449

pym/portage_locks.py

index 77169906c21859bf121590b67e829652a133cf73..162cd8fd2b36e4b4b4ea1c5fb459ed8aa857e6cb 100644 (file)
@@ -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