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':
A simple and appropriate fix.
=== modified file 'bzrlib/ bundle/ bundle_ data.py' bundle/ bundle_ data.py 2009-09-20 22:12:36 +0000 bundle/ bundle_ data.py 2010-05-28 17:55:24 +0000
try:
name, value = info_item. split(' :', 1)
except ValueError:
last_changed = value
elif name == 'executable':
--- bzrlib/
+++ bzrlib/
@@ -331,7 +331,7 @@
- raise 'Value %r has no colon' % info_item
+ raise ValueError('Value %r has no colon' % info_item)
if name == 'last-changed':