~milo/launchpad-work-items-tracker/bug996948

« back to all changes in this revision

Viewing changes to collect

  • Committer: James Tunnicliffe
  • Date: 2012-08-08 16:07:48 UTC
  • mfrom: (340.1.1 meta-values-with-colons)
  • Revision ID: james.tunnicliffe@linaro.org-20120808160748-wpf1jk8fvycffnvy
Fixed errors parsing meta values containing a colon

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        return
153
153
 
154
154
    try:
155
 
        (key, value) = line.rsplit(':', 1)
 
155
        (key, value) = line.split(':', 1)
156
156
        key = key.strip()
157
157
        value = value.strip()
158
158
    except ValueError: