~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/util/_bencode_py.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-01 19:44:12 UTC
  • mto: (4851.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4852.
  • Revision ID: john@arbash-meinel.com-20091201194412-k99flbryjf2c24hi
we need to support the non-extension StaticTuple type.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
        encode_int(int(x), r)
155
155
    encode_func[BooleanType] = encode_bool
156
156
 
 
157
from bzrlib._static_tuple_py import StaticTuple
 
158
encode_func[StaticTuple] = encode_list
157
159
try:
158
160
    from bzrlib._static_tuple_c import StaticTuple
159
161
except ImportError: