summaryrefslogtreecommitdiff
path: root/cloudinit/helpers.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2013-07-20 13:06:55 -0700
committerJoshua Harlow <harlowja@gmail.com>2013-07-20 13:06:55 -0700
commit2849c8d3eb44b186e9eaed46080796d56e9529f2 (patch)
tree2e042163090fb41abb998ed85a8cb334ef6dc4c4 /cloudinit/helpers.py
parenta3ef9d24c6c913676d22dd7017a1f1b235d47a45 (diff)
downloadvyos-cloud-init-2849c8d3eb44b186e9eaed46080796d56e9529f2.tar.gz
vyos-cloud-init-2849c8d3eb44b186e9eaed46080796d56e9529f2.zip
Also handle custom handlers correctly.
LP: #1203368
Diffstat (limited to 'cloudinit/helpers.py')
-rw-r--r--cloudinit/helpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py
index b91c1290..bd37b8a3 100644
--- a/cloudinit/helpers.py
+++ b/cloudinit/helpers.py
@@ -22,6 +22,7 @@
from time import time
+import collections
import contextlib
import io
import os
@@ -281,6 +282,7 @@ class ContentHandlers(object):
def __init__(self):
self.registered = {}
+ self.markings = collections.defaultdict(list)
def __contains__(self, item):
return self.is_registered(item)