diff options
author | Joshua Powers <josh.powers@canonical.com> | 2017-03-21 14:18:46 -0600 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-24 15:11:53 -0400 |
commit | 35cf3415f9748c880db4d3c004f3410c3aa2cab2 (patch) | |
tree | 0f4985af251431543e4b10aef15cf443cdc5f38a /cloudinit/sources/__init__.py | |
parent | 2e879da890a4287dd52eab17938d227da7af253a (diff) | |
download | vyos-cloud-init-35cf3415f9748c880db4d3c004f3410c3aa2cab2.tar.gz vyos-cloud-init-35cf3415f9748c880db4d3c004f3410c3aa2cab2.zip |
test: add running of pylint
Now tox will run pylint. The .pylintrc file sets pylint to only produce
errors, and will ignore certain classes that are known problematic (six).
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r-- | cloudinit/sources/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py index 18294505..5c99437e 100644 --- a/cloudinit/sources/__init__.py +++ b/cloudinit/sources/__init__.py @@ -50,7 +50,7 @@ class DataSource(object): self.distro = distro self.paths = paths self.userdata = None - self.metadata = None + self.metadata = {} self.userdata_raw = None self.vendordata = None self.vendordata_raw = None |