summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_disable_ec2_metadata.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-01-17 12:34:19 -0500
committerScott Moser <smoser@ubuntu.com>2012-01-17 12:34:19 -0500
commitc33eedb47b2b22c797051da197fd80e74f1db179 (patch)
treef1958cfc36e53fc406fea4963b1305f760570847 /cloudinit/CloudConfig/cc_disable_ec2_metadata.py
parent89eafa0a6c1a28331b3b3c59ba94803052c63583 (diff)
downloadvyos-cloud-init-c33eedb47b2b22c797051da197fd80e74f1db179.tar.gz
vyos-cloud-init-c33eedb47b2b22c797051da197fd80e74f1db179.zip
[PATCH 2/4] Fix pylint conventions C0322 (operator not preceded by a space)
From: Juerg Haefliger <juerg.haefliger@hp.com>
Diffstat (limited to 'cloudinit/CloudConfig/cc_disable_ec2_metadata.py')
-rw-r--r--cloudinit/CloudConfig/cc_disable_ec2_metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_disable_ec2_metadata.py b/cloudinit/CloudConfig/cc_disable_ec2_metadata.py
index f06d4dfc..ff95f4bf 100644
--- a/cloudinit/CloudConfig/cc_disable_ec2_metadata.py
+++ b/cloudinit/CloudConfig/cc_disable_ec2_metadata.py
@@ -23,5 +23,5 @@ frequency = per_always
def handle(_name,cfg,_cloud,_log,_args):
if util.get_cfg_option_bool(cfg, "disable_ec2_metadata", False):
- fwall="route add -host 169.254.169.254 reject"
+ fwall = "route add -host 169.254.169.254 reject"
subprocess.call(fwall.split(' '))