diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-07-15 10:26:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 10:26:12 -0400 |
commit | 4fe576516d65feda17ba78e9265a8e494a195e7b (patch) | |
tree | a4cdbde78f035bfca999c22ce5c1443ecb20c5ae /cloudinit/config/cc_set_hostname.py | |
parent | 25289087e44c9c74543248519e37ca1f11b8a711 (diff) | |
download | vyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.tar.gz vyos-cloud-init-4fe576516d65feda17ba78e9265a8e494a195e7b.zip |
cloudinit: remove global disable of pylint W0107 and fix errors (#489)
* cloudinit: remove global disable of pylint W0107 and fix errors
This includes removing a test class which contained no tests but wasn't
detected as empty because of an errant pass statement.
* .pylintrc: update disable comment to match arguments
Diffstat (limited to 'cloudinit/config/cc_set_hostname.py')
-rw-r--r-- | cloudinit/config/cc_set_hostname.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/config/cc_set_hostname.py b/cloudinit/config/cc_set_hostname.py index 10d6d197..c13020d8 100644 --- a/cloudinit/config/cc_set_hostname.py +++ b/cloudinit/config/cc_set_hostname.py @@ -55,7 +55,6 @@ class SetHostnameError(Exception): This may happen if we attempt to set the hostname early in cloud-init's init-local timeframe as certain services may not be running yet. """ - pass def handle(name, cfg, cloud, log, _args): |