Rev 5289: (Jelmer) Remove a string exceptions. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Sat Jun 12 00:19:06 BST 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5289 [merge]
revision-id: pqm at pqm.ubuntu.com-20100611231905-oqhoayr73ygvkrug
parent: pqm at pqm.ubuntu.com-20100611110107-t1zug4icv4ipz3dt
parent: jelmer at samba.org-20100609224852-9nhqsejed41c0coq
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sat 2010-06-12 00:19:05 +0100
message:
  (Jelmer) Remove a string exceptions.
modified:
  bzrlib/bundle/bundle_data.py   read_changeset.py-20050619171944-c0d95aa685537640
=== modified file 'bzrlib/bundle/bundle_data.py'
--- a/bzrlib/bundle/bundle_data.py	2009-09-20 22:12:36 +0000
+++ b/bzrlib/bundle/bundle_data.py	2010-06-09 22:48:52 +0000
@@ -331,7 +331,7 @@
                 try:
                     name, value = info_item.split(':', 1)
                 except ValueError:
-                    raise 'Value %r has no colon' % info_item
+                    raise ValueError('Value %r has no colon' % info_item)
                 if name == 'last-changed':
                     last_changed = value
                 elif name == 'executable':




More information about the bazaar-commits mailing list