summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-07 12:26:50 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-07 12:26:50 -0700
commitec413a1507109740dd53e8ad70899b41ed0e88f0 (patch)
treecaeb33d401e8d0ed690e1de2462c7edc84c9c595
parentb945d359b14c1f2590fbbcbf8f8689c60f188e8b (diff)
downloadportage-ec413a1507109740dd53e8ad70899b41ed0e88f0.tar.gz
portage-ec413a1507109740dd53e8ad70899b41ed0e88f0.tar.bz2
portage-ec413a1507109740dd53e8ad70899b41ed0e88f0.zip
Fix confusing deprecation message for the first parameter of the
portdbapi constructor.
-rw-r--r--pym/portage/dbapi/porttree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 0c96b4b4e..1169024b8 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -87,8 +87,8 @@ class portdbapi(dbapi):
if _unused_param is not None:
warnings.warn("The first parameter of the " + \
"portage.dbapi.porttree.portdbapi" + \
- " constructor is now unused. Use " + \
- "mysettings['PORTDIR'] instead.",
+ " constructor is now unused. " + \
+ "mysettings['PORTDIR'] will be used instead.",
DeprecationWarning, stacklevel=2)
# This is strictly for use in aux_get() doebuild calls when metadata