~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/bundle_data.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-06-11 23:19:05 UTC
  • mfrom: (5284.2.1 no-string-exc)
  • Revision ID: pqm@pqm.ubuntu.com-20100611231905-oqhoayr73ygvkrug
(Jelmer) Remove a string exceptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
                try:
332
332
                    name, value = info_item.split(':', 1)
333
333
                except ValueError:
334
 
                    raise 'Value %r has no colon' % info_item
 
334
                    raise ValueError('Value %r has no colon' % info_item)
335
335
                if name == 'last-changed':
336
336
                    last_changed = value
337
337
                elif name == 'executable':