summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_apt_update_upgrade.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-01-12 16:51:47 +0100
committerScott Moser <smoser@ubuntu.com>2012-01-12 16:51:47 +0100
commit234cefd314a7e1cfb51fad3bdf344d801a8b238d (patch)
treedadad683214756e91e9a15c5ad88a9f89f8cf572 /cloudinit/CloudConfig/cc_apt_update_upgrade.py
parentdf5d51c25523ea04d45f5f077e94885d1847e526 (diff)
downloadvyos-cloud-init-234cefd314a7e1cfb51fad3bdf344d801a8b238d.tar.gz
vyos-cloud-init-234cefd314a7e1cfb51fad3bdf344d801a8b238d.zip
[PATCH 05/13] Fix pylint warnings W0613 (unused argument)
From: Juerg Haefliger <juerg.haefliger@hp.com>
Diffstat (limited to 'cloudinit/CloudConfig/cc_apt_update_upgrade.py')
-rw-r--r--cloudinit/CloudConfig/cc_apt_update_upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_apt_update_upgrade.py b/cloudinit/CloudConfig/cc_apt_update_upgrade.py
index 0677ceb5..e9fd2c07 100644
--- a/cloudinit/CloudConfig/cc_apt_update_upgrade.py
+++ b/cloudinit/CloudConfig/cc_apt_update_upgrade.py
@@ -22,7 +22,7 @@ import os
import glob
import cloudinit.CloudConfig as cc
-def handle(name,cfg,cloud,log,args):
+def handle(_name,cfg,cloud,log,_args):
update = util.get_cfg_option_bool(cfg, 'apt_update', False)
upgrade = util.get_cfg_option_bool(cfg, 'apt_upgrade', False)