/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/util/_bencode_py.py

  • Committer: Aaron Bentley
  • Date: 2009-10-16 15:25:24 UTC
  • mfrom: (4753 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4754.
  • Revision ID: aaron@aaronbentley.com-20091016152524-hjvft60j2xs6ixa6
Merge bzr.dev

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
try:
 
158
    from bzrlib._static_tuple_c import StaticTuple
 
159
except ImportError:
 
160
    pass
 
161
else:
 
162
    encode_func[StaticTuple] = encode_list
 
163
 
157
164
 
158
165
def bencode(x):
159
166
    r = []