Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4585)

Issue 98390047: Don't die if an option has no type.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by bac
Modified:
9 years, 11 months ago
Reviewers:
mp+220286, Marco Ceppi
Visibility:
Public.

Description

Don't die if an option has no type. If a config option doesn't specify a type, a warning was issued but the process failed with KeyError. This fix allows it to proceed, using 'string' if not type is given. This bug affects charmworld ingest, so getting it released soonish would be great. https://code.launchpad.net/~bac/charm-tools/1321316/+merge/220286 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Don't die if an option has no type. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M charmtools/charms.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/test_charm_proof.py View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 3
bac
Please take a look.
9 years, 11 months ago (2014-05-20 15:08:32 UTC) #1
Marco Ceppi
LGTM
9 years, 11 months ago (2014-05-20 15:14:27 UTC) #2
bac
9 years, 11 months ago (2014-05-20 15:21:53 UTC) #3
*** Submitted:

Don't die if an option has no type.

If a config option doesn't specify a type, a warning was issued
but the process failed with KeyError.  This fix allows it to proceed, using
'string' if not type is given.

This bug affects charmworld ingest, so getting it released soonish would be
great.

R=Marco Ceppi
CC=
https://codereview.appspot.com/98390047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b