summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-09-08 14:06:45 -0400
committerGitHub <noreply@github.com>2020-09-08 14:06:45 -0400
commit2a95dfb52390adadd3b9e733717356cb37c8d892 (patch)
treefc72a69428e7325295e464ed2cc1f0dac8594cea /cloudinit/distros
parent86748592b90035967525b3ee6b199a377aaf2ee0 (diff)
downloadvyos-cloud-init-2a95dfb52390adadd3b9e733717356cb37c8d892.tar.gz
vyos-cloud-init-2a95dfb52390adadd3b9e733717356cb37c8d892.zip
distros: minor typo fix (#562)
Co-authored-by: Rick Harding <rharding@mitechie.com>
Diffstat (limited to 'cloudinit/distros')
-rwxr-xr-xcloudinit/distros/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 2537608f..2bd9bae8 100755
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -250,8 +250,9 @@ class Distro(metaclass=abc.ABCMeta):
distros = []
for family in family_list:
if family not in OSFAMILIES:
- raise ValueError("No distibutions found for osfamily %s"
- % (family))
+ raise ValueError(
+ "No distributions found for osfamily {}".format(family)
+ )
distros.extend(OSFAMILIES[family])
return distros