Fix confusing deprecation message for the first parameter of the
authorZac Medico <zmedico@gentoo.org>
Tue, 7 Sep 2010 19:26:50 +0000 (12:26 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 7 Sep 2010 19:26:50 +0000 (12:26 -0700)
portdbapi constructor.

pym/portage/dbapi/porttree.py

index 0c96b4b4e71694f7fbec881ae327812bec11dc58..1169024b874956fd0b93f9c13e4f098f5e7760a0 100644 (file)
@@ -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