diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-01-24 20:13:38 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-01-24 20:13:38 -0500 |
commit | 9876ad7d74f90f7c7433fb4dc1fa07e664ff92bc (patch) | |
tree | eb248c6ab4c08665fa336e1bd4a1b7d5ea5c9ece /tests/unittests | |
parent | 93c0bcf6a048e278ead6b4392d3507c40441b7bb (diff) | |
download | vyos-cloud-init-9876ad7d74f90f7c7433fb4dc1fa07e664ff92bc.tar.gz vyos-cloud-init-9876ad7d74f90f7c7433fb4dc1fa07e664ff92bc.zip |
minor changes for pylint, write_boot_content improvement.
if write_boot_content is given somethign that starts with #!,
then there isn't a reason to invoke 'file' to tell us that it
starts with shebang.
This way, we only run file in 2 cases:
a.) binary content (don't really know if that is supported or not)
b.) magic "user meant to run this with /bin/bash but couldn't be bothered to
type that"
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions