summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/emerge.12
-rw-r--r--pym/_emerge/actions.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/man/emerge.1 b/man/emerge.1
index 0f2360ff0..c2ce11059 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -703,7 +703,7 @@ before they can emerge.
Here we see that the make.conf variable \fBUSE\fR affects how this package is
built. In this example, ipv6 optional support is enabled and both gtk and qt
support are disabled. The asterisk following ipv6 indicates that ipv6 support
-was disabled the last time this packages was installed. The percent sign
+was disabled the last time this package was installed. The percent sign
following qt indicates that the qt option has been added to the package since
it was last installed. For information about all \fBUSE\fR symbols, see the
\fB\-\-verbose\fR option documentation above.
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 75f15f959..7f585089c 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -882,11 +882,12 @@ def calc_depclean(settings, trees, ldpath_mtimes,
cleanlist = create_cleanlist()
clean_set = set(cleanlist)
+ real_vardb = trees[myroot]["vartree"].dbapi
if cleanlist and \
real_vardb._linkmap is not None and \
myopts.get('--depclean-lib-check') != 'n':
- # Check if any of these package are the sole providers of libraries
+ # Check if any of these packages are the sole providers of libraries
# with consumers that have not been selected for removal. If so, these
# packages and any dependencies need to be added to the graph.
linkmap = real_vardb._linkmap