Merge lp:~andreserl/charm-tools/juju_rc_path-helpers into lp:~openstack-charmers/charm-tools/pyrewrite-helpers
Proposed by
Andres Rodriguez
Status: | Merged |
---|---|
Merged at revision: | 53 |
Proposed branch: | lp:~andreserl/charm-tools/juju_rc_path-helpers |
Merge into: | lp:~openstack-charmers/charm-tools/pyrewrite-helpers |
Diff against target: |
23 lines (+4/-2) 1 file modified
charmhelpers/contrib/openstack/openstack_utils.py (+4/-2) |
To merge this branch: | bzr merge lp:~andreserl/charm-tools/juju_rc_path-helpers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Page | Approve | ||
Review via email: mp+174259@code.launchpad.net |
Commit message
make sure juju_rc_path is created. use charm_dir to determine the base path.
To post a comment you must log in.
Urgh - sorry - just spotted this:
+ if not os.path. exists( os.path. dirname( juju_rc_ path)): os.path. dirname( juju_rc_ path))
19 + os.mkdir(
If charm_dir does not exists things are pretty broken - so I'd not bother with the check.