summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 19:50:34 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 19:50:34 +0200
commite55ccfa5670e16aa7431a193d0838aa7d04db4d5 (patch)
tree3afe627d6c3eefd06d0955fb2ab6acb5def70f5a /cloudinit
parent9c6b5f54ad5b83131de6d997930bd9f4031e6a83 (diff)
downloadvyos-cloud-init-e55ccfa5670e16aa7431a193d0838aa7d04db4d5.tar.gz
vyos-cloud-init-e55ccfa5670e16aa7431a193d0838aa7d04db4d5.zip
remove Unnecessary parens in add_key
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_apt_configure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_apt_configure.py b/cloudinit/config/cc_apt_configure.py
index 91d02815..492c3c00 100644
--- a/cloudinit/config/cc_apt_configure.py
+++ b/cloudinit/config/cc_apt_configure.py
@@ -178,7 +178,7 @@ def add_key(ent):
suppords raw keys or keyid's
The latter will as a first step fetched to get the raw key
"""
- if ('keyid' in ent and 'key' not in ent):
+ if 'keyid' in ent and 'key' not in ent:
keyserver = "keyserver.ubuntu.com"
if 'keyserver' in ent:
keyserver = ent['keyserver']