Comment 1 for bug 586926

John A Meinel (jameinel) wrote :

A simple and appropriate fix.

=== modified file 'bzrlib/bundle/bundle_data.py'
--- bzrlib/bundle/bundle_data.py 2009-09-20 22:12:36 +0000
+++ bzrlib/bundle/bundle_data.py 2010-05-28 17:55:24 +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':