diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-09-16 09:53:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 09:53:09 -0400 |
commit | 22220e200a43f9a172e1abac93907b48d60d3ee0 (patch) | |
tree | 8e4b6b9f685893f4332f832fff60cd2da08c297a /cloudinit/sources | |
parent | 6d332e5c8dbfb6521a530b1fa49d73da51efff96 (diff) | |
download | vyos-cloud-init-22220e200a43f9a172e1abac93907b48d60d3ee0.tar.gz vyos-cloud-init-22220e200a43f9a172e1abac93907b48d60d3ee0.zip |
cloudinit: remove unused LOG variables (#574)
Co-authored-by: Rick Harding <rharding@mitechie.com>
Diffstat (limited to 'cloudinit/sources')
-rw-r--r-- | cloudinit/sources/DataSourceBigstep.py | 3 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceHetzner.py | 3 | ||||
-rw-r--r-- | cloudinit/sources/DataSourceNone.py | 3 | ||||
-rw-r--r-- | cloudinit/sources/helpers/hetzner.py | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/cloudinit/sources/DataSourceBigstep.py b/cloudinit/sources/DataSourceBigstep.py index 52fff20a..63435279 100644 --- a/cloudinit/sources/DataSourceBigstep.py +++ b/cloudinit/sources/DataSourceBigstep.py @@ -7,13 +7,10 @@ import errno import json -from cloudinit import log as logging from cloudinit import sources from cloudinit import url_helper from cloudinit import util -LOG = logging.getLogger(__name__) - class DataSourceBigstep(sources.DataSource): diff --git a/cloudinit/sources/DataSourceHetzner.py b/cloudinit/sources/DataSourceHetzner.py index a86035e0..79353882 100644 --- a/cloudinit/sources/DataSourceHetzner.py +++ b/cloudinit/sources/DataSourceHetzner.py @@ -6,15 +6,12 @@ """Hetzner Cloud API Documentation. https://docs.hetzner.cloud/""" -from cloudinit import log as logging from cloudinit import net as cloudnet from cloudinit import sources from cloudinit import util import cloudinit.sources.helpers.hetzner as hc_helper -LOG = logging.getLogger(__name__) - BASE_URL_V1 = 'http://169.254.169.254/hetzner/v1' BUILTIN_DS_CONFIG = { diff --git a/cloudinit/sources/DataSourceNone.py b/cloudinit/sources/DataSourceNone.py index e6250801..b7656ac5 100644 --- a/cloudinit/sources/DataSourceNone.py +++ b/cloudinit/sources/DataSourceNone.py @@ -4,11 +4,8 @@ # # This file is part of cloud-init. See LICENSE file for license information. -from cloudinit import log as logging from cloudinit import sources -LOG = logging.getLogger(__name__) - class DataSourceNone(sources.DataSource): diff --git a/cloudinit/sources/helpers/hetzner.py b/cloudinit/sources/helpers/hetzner.py index 72edb023..33dc4c53 100644 --- a/cloudinit/sources/helpers/hetzner.py +++ b/cloudinit/sources/helpers/hetzner.py @@ -3,15 +3,12 @@ # # This file is part of cloud-init. See LICENSE file for license information. -from cloudinit import log as logging from cloudinit import url_helper from cloudinit import util import base64 import binascii -LOG = logging.getLogger(__name__) - def read_metadata(url, timeout=2, sec_between=2, retries=30): response = url_helper.readurl(url, timeout=timeout, |