From ec413a1507109740dd53e8ad70899b41ed0e88f0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 7 Sep 2010 12:26:50 -0700 Subject: Fix confusing deprecation message for the first parameter of the portdbapi constructor. --- pym/portage/dbapi/porttree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22