summaryrefslogtreecommitdiffstats
path: root/pym/portage/locks.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/locks.py')
-rw-r--r--pym/portage/locks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/locks.py b/pym/portage/locks.py
index ed20e30ca..00a50b818 100644
--- a/pym/portage/locks.py
+++ b/pym/portage/locks.py
@@ -30,8 +30,8 @@ HARDLINK_FD = -2
# so that it doesn't interfere with the status display.
_quiet = False
-def lockdir(mydir):
- return lockfile(mydir,wantnewlockfile=1)
+def lockdir(mydir, flags=0):
+ return lockfile(mydir, wantnewlockfile=1, flags=flags)
def unlockdir(mylock):
return unlockfile(mylock)