~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bencode.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-03 14:14:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4410.
  • Revision ID: john@arbash-meinel.com-20090603141431-zeurvzs2iezwzdn5
A bit of code restructuring.
Move bzrlib/_bencode_py.py back to bzrlib/util/_bencode_py.py
Leaving it as _bencode_py.py so that people don't accidentally
import the old version.
Renaming _bencode_c.pyx => _bencode_pyx.pyx to conform to new naming scheme.

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, bdecode_as_tuple, bencode, Bencached
 
20
    from bzrlib._bencode_pyx import bdecode, bdecode_as_tuple, bencode, Bencached
21
21
except ImportError:
22
 
    from bzrlib._bencode_py import bdecode, bdecode_as_tuple, bencode, Bencached
 
22
    from bzrlib.util._bencode_py import bdecode, bdecode_as_tuple, bencode, Bencached