projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b945d35
)
Fix confusing deprecation message for the first parameter of the
author
Zac Medico
<zmedico@gentoo.org>
Tue, 7 Sep 2010 19:26:50 +0000
(12:26 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 7 Sep 2010 19:26:50 +0000
(12:26 -0700)
portdbapi constructor.
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 0c96b4b4e71694f7fbec881ae327812bec11dc58..1169024b874956fd0b93f9c13e4f098f5e7760a0 100644
(file)
--- 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