diff options
author | Shreenidhi Shedi <53473811+sshedi@users.noreply.github.com> | 2021-09-14 01:11:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 14:41:45 -0500 |
commit | f3cc94949d9f153b4a5135f8b989ff11b36ab7ea (patch) | |
tree | c22cead26514ce3904fe672efc7ab7ca7eb2c963 /cloudinit/util.py | |
parent | f4c47e3e25d1fb79e2673e37f8fc67750d025be2 (diff) | |
download | vyos-cloud-init-f3cc94949d9f153b4a5135f8b989ff11b36ab7ea.tar.gz vyos-cloud-init-f3cc94949d9f153b4a5135f8b989ff11b36ab7ea.zip |
Improve ug_util.py (#1013)
No functional changes.
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r-- | cloudinit/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py index 9662b30b..22d8917e 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -297,7 +297,7 @@ def uniq_merge(*lists): if isinstance(a_list, str): a_list = a_list.strip().split(",") # Kickout the empty ones - a_list = [a for a in a_list if len(a)] + a_list = [a for a in a_list if a] combined_list.extend(a_list) return uniq_list(combined_list) |