projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6acf675
)
Remove an unused hardlink_active() function.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 14 Sep 2006 07:52:39 +0000
(07:52 -0000)
committer
Zac 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
patch
|
blob
|
history
diff --git
a/pym/portage_locks.py
b/pym/portage_locks.py
index 77169906c21859bf121590b67e829652a133cf73..162cd8fd2b36e4b4b4ea1c5fb459ed8aa857e6cb 100644
(file)
--- 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