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

Unified Diff: juju/charm/config.py

Issue 6490069: Modify format 2 so that it supports raw strings
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: juju/charm/config.py
=== modified file 'juju/charm/config.py'
--- juju/charm/config.py 2012-07-02 03:14:51 +0000
+++ juju/charm/config.py 2012-08-30 03:06:56 +0000
@@ -144,7 +144,7 @@
# output format, False
raise ServiceConfigValueError(
"Invalid value for %s: %s" % (
- name, YAMLFormat().format(value)))
+ name, YAMLFormat().format_raw(value)))
return value
def get_defaults(self):
« no previous file with comments | « [revision details] ('k') | juju/control/tests/test_config_set.py » ('j') | juju/hooks/cli.py » ('J')

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