aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-27 19:32:49 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-27 19:32:49 -0700
commitdf6078a76dc549b83de5a056a6a1dc52bdd69107 (patch)
tree708bde165e04999cd032d3b23cbe1ddf26a01865 /pym/portage/dbapi/bintree.py
parentFix mydcfg from last commit. (diff)
downloadportage-df6078a76dc549b83de5a056a6a1dc52bdd69107.tar.gz
portage-df6078a76dc549b83de5a056a6a1dc52bdd69107.tar.bz2
portage-df6078a76dc549b83de5a056a6a1dc52bdd69107.zip
stacklevel=3 for properties warnings
There's an extra level for the @property wrapper.
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 39bb030f9..0fb8be9c5 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -349,7 +349,7 @@ class binarytree(object):
"portage.dbapi.bintree.binarytree"
" is deprecated. Use "
"settings['ROOT'] instead.",
- DeprecationWarning, stacklevel=2)
+ DeprecationWarning, stacklevel=3)
return self.settings['ROOT']
def move_ent(self, mylist, repo_match=None):