diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-01-12 17:03:26 +0100 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-01-12 17:03:26 +0100 |
commit | 1d00c0936bfc63117493d89268da8c81611b3c40 (patch) | |
tree | 23077c9f5d348a1b29408bba04cdac049a6ec76b /cloudinit/CloudConfig/cc_disable_ec2_metadata.py | |
parent | 982856531a3498d784e3977f307a9cbf2a673977 (diff) | |
parent | 7c38d4b469d3863443ec3322f0def25672c545db (diff) | |
download | vyos-cloud-init-1d00c0936bfc63117493d89268da8c81611b3c40.tar.gz vyos-cloud-init-1d00c0936bfc63117493d89268da8c81611b3c40.zip |
fix pylint warnings (LP: #914739) [Juerg Haefliger]
LP: #914739
Diffstat (limited to 'cloudinit/CloudConfig/cc_disable_ec2_metadata.py')
-rw-r--r-- | cloudinit/CloudConfig/cc_disable_ec2_metadata.py | 2 |
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 5cd1d1c1..f06d4dfc 100644 --- a/cloudinit/CloudConfig/cc_disable_ec2_metadata.py +++ b/cloudinit/CloudConfig/cc_disable_ec2_metadata.py @@ -21,7 +21,7 @@ from cloudinit.CloudConfig import per_always frequency = per_always -def handle(name,cfg,cloud,log,args): +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" subprocess.call(fwall.split(' ')) |