summaryrefslogtreecommitdiff
path: root/cloudinit/mergers/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-07 16:47:54 -0500
committerScott Moser <smoser@ubuntu.com>2013-03-07 16:47:54 -0500
commitaae7fe638f61aaf02c6579d5b691a8641455c875 (patch)
treeee449987b9076806975802e3843f0305736c3f1b /cloudinit/mergers/__init__.py
parent9a771ec66f4e79bcd30f7cad7ef4b67e9cc7512d (diff)
downloadvyos-cloud-init-aae7fe638f61aaf02c6579d5b691a8641455c875.tar.gz
vyos-cloud-init-aae7fe638f61aaf02c6579d5b691a8641455c875.zip
fix pep8 and pylint
Diffstat (limited to 'cloudinit/mergers/__init__.py')
-rw-r--r--cloudinit/mergers/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/mergers/__init__.py b/cloudinit/mergers/__init__.py
index 3b56686f..ac16f143 100644
--- a/cloudinit/mergers/__init__.py
+++ b/cloudinit/mergers/__init__.py
@@ -32,7 +32,7 @@ class UnknownMerger(object):
# Named differently so auto-method finding
# doesn't pick this up if there is ever a type
# named "unknown"
- def _handle_unknown(self, meth_wanted, value, merge_with):
+ def _handle_unknown(self, _meth_wanted, value, _merge_with):
return value
# This merging will attempt to look for a '_on_X' method
@@ -119,7 +119,8 @@ def string_extract_mergers(merge_how):
continue
match = NAME_MTCH.match(m_name)
if not match:
- msg = "Matcher identifer '%s' is not in the right format" % (m_name)
+ msg = ("Matcher identifer '%s' is not in the right format" %
+ (m_name))
raise ValueError(msg)
(m_name, m_ops) = match.groups()
m_ops = m_ops.strip().split(",")