diff options
author | James Falcon <james.falcon@canonical.com> | 2021-12-15 20:16:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 19:16:38 -0700 |
commit | bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf (patch) | |
tree | 1fbb3269fc87e39832e3286ef42eefd2b23fcd44 /cloudinit/registry.py | |
parent | 2bcf4fa972fde686c2e3141c58e640640b44dd00 (diff) | |
download | vyos-cloud-init-bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf.tar.gz vyos-cloud-init-bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf.zip |
Adopt Black and isort (SC-700) (#1157)
Applied Black and isort, fixed any linting issues, updated tox.ini
and CI.
Diffstat (limited to 'cloudinit/registry.py')
-rw-r--r-- | cloudinit/registry.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |