diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-03-27 16:27:47 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-03-27 16:27:47 -0400 |
commit | 6f738bea5d2aa29cdf14d0dc2a6e880517ab2bc2 (patch) | |
tree | 63f572b8bfe752583c45c98a956cd70815d49d59 /cloudinit/config/cc_snappy.py | |
parent | f3007f9a398f8deaa8247941cfbe023de9d99850 (diff) | |
download | vyos-cloud-init-6f738bea5d2aa29cdf14d0dc2a6e880517ab2bc2.tar.gz vyos-cloud-init-6f738bea5d2aa29cdf14d0dc2a6e880517ab2bc2.zip |
do not use set
Diffstat (limited to 'cloudinit/config/cc_snappy.py')
-rw-r--r-- | cloudinit/config/cc_snappy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_snappy.py b/cloudinit/config/cc_snappy.py index 74ae3ac0..05676321 100644 --- a/cloudinit/config/cc_snappy.py +++ b/cloudinit/config/cc_snappy.py @@ -82,7 +82,7 @@ def get_fs_package_ops(fspath): for snapfile in sorted(glob.glob(os.path.sep.join([fspath, '*.snap']))): (name, shortname, fname_noext) = parse_filename(snapfile) cfg = None - for cand in set((fname_noext, name, shortname,)): + for cand in (fname_noext, name, shortname): fpcand = os.path.sep.join([fspath, cand]) + ".config" if os.path.isfile(fpcand): cfg = fpcand |