Merge ~remyleone/cloud-init:dict_litteral into cloud-init:master
Proposed by
Rémy Léone
Status: | Work in progress |
---|---|
Proposed branch: | ~remyleone/cloud-init:dict_litteral |
Merge into: | cloud-init:master |
Diff against target: |
130 lines (+13/-25) 7 files modified
cloudinit/config/cc_phone_home.py (+2/-4) cloudinit/distros/net_util.py (+1/-2) cloudinit/netinfo.py (+1/-3) cloudinit/sources/DataSourceAzure.py (+1/-2) cloudinit/sources/DataSourceEc2.py (+1/-2) cloudinit/sources/DataSourceGCE.py (+2/-3) cloudinit/sources/helpers/openstack.py (+5/-9) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Needs Fixing | ||
Server Team CI bot | continuous-integration | Needs Fixing | |
Review via email: mp+340238@code.launchpad.net |
Commit message
Change some dict creation and population to literal.
This will provide a small performance improvement and shorter code.
To post a comment you must log in.
Unmerged commits
- 80ce710... by =?utf-8?b?UsOpbXkgTMOpb25l?= <email address hidden>
I'm curious, is there any benefit to this other than shorter code?