/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: 2010-04-11 19:40:23 UTC
  • mto: This revision was merged to the branch mainline in revision 5144.
  • Revision ID: jelmer@samba.org-20100411194023-7iidj17toyv1wskc
Add separate tests for BzrDirs with colocated branch support and 
BzrDirs without.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
            raise TypeError
91
91
        try:
92
92
            r, l = self.decode_func[x[0]](x, 0)
93
 
        except (IndexError, KeyError, OverflowError):
 
93
        except (IndexError, KeyError):
94
94
            raise ValueError
95
95
        if l != len(x):
96
96
            raise ValueError