~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bencode.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-26 09:50:19 UTC
  • mto: (4398.5.1 bencode_serializer)
  • mto: This revision was merged to the branch mainline in revision 4410.
  • Revision ID: jelmer@samba.org-20090526095019-35nkhcnyci25836v
Support bdecode_as_tuple.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Wrapper around the bencode pyrex and python implementation"""
18
18
 
19
19
try:
20
 
    from bzrlib._bencode_c import bdecode, bencode, Bencached
 
20
    from bzrlib._bencode_c import bdecode, bdecode_as_tuple, bencode, Bencached
21
21
except ImportError:
22
 
    from bzrlib._bencode_py import bdecode, bencode, Bencached
 
22
    from bzrlib._bencode_py import bdecode, bdecode_as_tuple, bencode, Bencached