/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: Jelmer Vernooij
  • Date: 2009-10-19 18:16:56 UTC
  • mfrom: (4757 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4833.
  • Revision ID: jelmer@samba.org-20091019181656-b1gy3j0a2u7h2gcv
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 = []