From: Zac Medico Date: Wed, 14 Dec 2011 05:26:17 +0000 (-0800) Subject: hardlink_is_mine: return False, never None X-Git-Tag: v2.2.0_alpha81~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdb992758a3120ff18254039c9ac9a61d1c15489;p=portage.git hardlink_is_mine: return False, never None --- diff --git a/pym/portage/locks.py b/pym/portage/locks.py index cab0fa3b5..980c1c762 100644 --- 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):