summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/bintree.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-19 22:55:52 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-19 22:55:52 +0000
commit055d2045e76699e4b675c7e4e8c4369c3faaec0a (patch)
tree4ab7c2dc176f8368d4bba01a641cc1cda78105b3 /pym/portage/dbapi/bintree.py
parentadbc448c3592af65b9ec8796f034d257e55523c4 (diff)
downloadportage-055d2045e76699e4b675c7e4e8c4369c3faaec0a.tar.gz
portage-055d2045e76699e4b675c7e4e8c4369c3faaec0a.tar.bz2
portage-055d2045e76699e4b675c7e4e8c4369c3faaec0a.zip
Add stacklevel=2 to warnings.warn calls.
svn path=/main/trunk/; revision=15406
Diffstat (limited to 'pym/portage/dbapi/bintree.py')
-rw-r--r--pym/portage/dbapi/bintree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index 6f164ccb9..ce162fccb 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -457,7 +457,7 @@ class binarytree(object):
warnings.warn(
"portage.dbapi.bintree.binarytree.populate(): " + \
"getbinpkgsonly parameter is deprecated",
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
if self._populating:
return