diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-05-01 05:38:56 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-05-01 05:38:56 -0400 |
commit | 96854d720d4bd356181acfa093744599a807ea8e (patch) | |
tree | 8617f48d840137d94bed1958da4ebef7587e2bca /cloudinit/config/cc_apt_pipelining.py | |
parent | 5ab9a1349db2286fca96681e00480d04bfd4473d (diff) | |
download | vyos-cloud-init-96854d720d4bd356181acfa093744599a807ea8e.tar.gz vyos-cloud-init-96854d720d4bd356181acfa093744599a807ea8e.zip |
fix 'Make pyflakes'
Diffstat (limited to 'cloudinit/config/cc_apt_pipelining.py')
-rw-r--r-- | cloudinit/config/cc_apt_pipelining.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_apt_pipelining.py b/cloudinit/config/cc_apt_pipelining.py index e5629175..40c32c84 100644 --- a/cloudinit/config/cc_apt_pipelining.py +++ b/cloudinit/config/cc_apt_pipelining.py @@ -43,7 +43,7 @@ def handle(_name, cfg, _cloud, log, _args): write_apt_snippet("0", log, DEFAULT_FILE) elif apt_pipe_value_s in ("none", "unchanged", "os"): return - elif apt_pipe_value_s in [str(b) for b in xrange(0, 6)]: + elif apt_pipe_value_s in [str(b) for b in range(0, 6)]: write_apt_snippet(apt_pipe_value_s, log, DEFAULT_FILE) else: log.warn("Invalid option for apt_pipeling: %s", apt_pipe_value) |