From: Zac Medico Date: Thu, 14 Sep 2006 07:52:39 +0000 (-0000) Subject: Remove an unused hardlink_active() function. X-Git-Tag: v2.1.1-r1~80 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b4408eeafe5f78771200079baa454d033e402dc1;p=portage.git Remove an unused hardlink_active() function. svn path=/main/trunk/; revision=4449 --- 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