From: Zac Medico Date: Tue, 7 Sep 2010 19:26:50 +0000 (-0700) Subject: Fix confusing deprecation message for the first parameter of the X-Git-Tag: v2.2_rc78~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec413a1507109740dd53e8ad70899b41ed0e88f0;p=portage.git Fix confusing deprecation message for the first parameter of the portdbapi constructor. --- 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