projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028f0b0
)
hardlink_is_mine: return False, never None
author
Zac Medico
<zmedico@gentoo.org>
Wed, 14 Dec 2011 05:26:17 +0000
(21:26 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 14 Dec 2011 05:26:17 +0000
(21:26 -0800)
pym/portage/locks.py
patch
|
blob
|
history
diff --git
a/pym/portage/locks.py
b/pym/portage/locks.py
index cab0fa3b57f59f0b342f7964564440d9e62440d8..980c1c7622e57cd287c506e96a59c7ffd1c968cc 100644
(file)
--- a/
pym/portage/locks.py
+++ b/
pym/portage/locks.py
@@
-285,7
+285,8
@@
def hardlink_is_mine(link,lock):
return lock_st.st_ino == link_st.st_ino and \
lock_st.st_dev == link_st.st_dev
except OSError:
- return False
+ pass
+ return False
def hardlink_lockfile(lockfilename, max_wait=DeprecationWarning,
waiting_msg=None, flags=0):