summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-06 20:19:08 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-06 20:19:08 +0000
commitfb26d3caf47e11ea398145d73e5924bef9063243 (patch)
tree487061d2b5c46bdee877628d2e87642578561da4
parent5c17359c4b91133ad44c037452cfea6df894021b (diff)
downloadportage-fb26d3caf47e11ea398145d73e5924bef9063243.tar.gz
portage-fb26d3caf47e11ea398145d73e5924bef9063243.tar.bz2
portage-fb26d3caf47e11ea398145d73e5924bef9063243.zip
Document that dblink.unmerge() does not perform locking internally.
svn path=/main/trunk/; revision=4418
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 38a5755e3..4899295d6 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5678,6 +5678,8 @@ class dblink:
def unmerge(self, pkgfiles=None, trimworld=1, cleanup=1,
ldpath_mtimes=None):
+ """The caller must ensure that lockdb() and unlockdb() are called
+ before and after this method."""
global dircache
dircache={}