Merge ~smoser/cloud-init:feature/load_shell_content-comments into cloud-init:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merge reported by: | Scott Moser |
Merged at revision: | be8e84b3639d41202a4e1ce7626b2053498fecdb |
Proposed branch: | ~smoser/cloud-init:feature/load_shell_content-comments |
Merge into: | cloud-init:master |
Diff against target: |
38 lines (+17/-1) 2 files modified
cloudinit/util.py (+1/-1) tests/unittests/test_util.py (+16/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper | Approve | ||
Review via email: mp+327525@code.launchpad.net |
Commit message
Support comments in content read by load_shell_content.
load_shell_content previously would not allow shell comment characters
in the content being parsed. If comments=True is not passed then an
exception would previously be raised as the line would not be guaranteed to
have an '=' in it.
To post a comment you must log in.
PASSED: Continuous integration, rev:be8e84b3639 d41202a4e1ce762 6b2053498fecdb /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 41/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: CentOS 6 & 7: Build & Test
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 41/rebuild
https:/