Rev 4479: (Matt Nordhoff) bzrlib.util.bencode's deprecation warning used the in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Thu Jun 25 23:51:22 BST 2009
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 4479 [merge]
revision-id: pqm at pqm.ubuntu.com-20090625225119-6utuistk3u69r92w
parent: pqm at pqm.ubuntu.com-20090625173629-yw2y6x938qnr0hr4
parent: mnordhoff at mattnordhoff.com-20090623223159-fqfgl9c7a4umtafj
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2009-06-25 23:51:19 +0100
message:
(Matt Nordhoff) bzrlib.util.bencode's deprecation warning used the
wrong stacklevel
modified:
bzrlib/util/bencode.py bencode.py-20090609141817-jtvhqq6vyryjoeky-1
=== modified file 'bzrlib/util/bencode.py'
--- a/bzrlib/util/bencode.py 2009-06-09 14:18:41 +0000
+++ b/bzrlib/util/bencode.py 2009-06-23 22:31:59 +0000
@@ -19,6 +19,6 @@
dep_warning = symbol_versioning.deprecated_in((1, 16, 0)) % (
'bzrlib.util.bencode',) + '\n Use bzrlib.bencode instead'
-symbol_versioning.warn(dep_warning, DeprecationWarning)
+symbol_versioning.warn(dep_warning, DeprecationWarning, stacklevel=2)
from bzrlib.bencode import *
More information about the bazaar-commits
mailing list