summaryrefslogtreecommitdiff
path: root/cloudinit/registry.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/registry.py')
-rw-r--r--cloudinit/registry.py4
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