From bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf Mon Sep 17 00:00:00 2001 From: James Falcon Date: Wed, 15 Dec 2021 20:16:38 -0600 Subject: Adopt Black and isort (SC-700) (#1157) Applied Black and isort, fixed any linting issues, updated tox.ini and CI. --- cloudinit/registry.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cloudinit/registry.py') diff --git a/cloudinit/registry.py b/cloudinit/registry.py index 8e495641..5044e760 100644 --- a/cloudinit/registry.py +++ b/cloudinit/registry.py @@ -18,7 +18,8 @@ class DictRegistry(object): """Add item to the registry.""" if key in self._items: raise ValueError( - 'Item already registered with key {0}'.format(key)) + "Item already registered with key {0}".format(key) + ) self._items[key] = item def unregister_item(self, key, force=True): @@ -36,4 +37,5 @@ class DictRegistry(object): """ return copy.copy(self._items) + # vi: ts=4 expandtab -- cgit v1.2.3