diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-12 14:30:08 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-12 14:30:08 -0800 |
commit | 82e90789f11b5371b352a477b75cad0c5d1457ec (patch) | |
tree | bfe3fc01c2f70f8af2f438cdc32e50a820e76baa /cloudinit/distros/parsers/sys_conf.py | |
parent | bbe325c902ef3a3b8845cd3c1bb8bee0c3c74a89 (diff) | |
download | vyos-cloud-init-82e90789f11b5371b352a477b75cad0c5d1457ec.tar.gz vyos-cloud-init-82e90789f11b5371b352a477b75cad0c5d1457ec.zip |
Cleanup of /etc/hosts ordering and pep8/pylint adjustments.
Fix how the comparison of a fqdn and its aliases was done
via sorting instead of existence checking which is the better
way to check if a alias already exists as well as cleanup
the new files pep8/pylint issues.
LP: #1078097
Diffstat (limited to 'cloudinit/distros/parsers/sys_conf.py')
-rw-r--r-- | cloudinit/distros/parsers/sys_conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/parsers/sys_conf.py b/cloudinit/distros/parsers/sys_conf.py index 5cd765fc..20ca1871 100644 --- a/cloudinit/distros/parsers/sys_conf.py +++ b/cloudinit/distros/parsers/sys_conf.py @@ -40,7 +40,7 @@ SHELL_VAR_REGEXES = [ # Things like $?, $0, $-, $@ re.compile(r"\$[0-9#\?\-@\*]"), # Things like ${blah:1} - but this one - # gets very complex so just try the + # gets very complex so just try the # simple path re.compile(r"\$\{.+\}"), ] |