diff options
author | Joshua Harlow <harlowja@gmail.com> | 2013-07-20 13:06:55 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2013-07-20 13:06:55 -0700 |
commit | 2849c8d3eb44b186e9eaed46080796d56e9529f2 (patch) | |
tree | 2e042163090fb41abb998ed85a8cb334ef6dc4c4 /cloudinit/helpers.py | |
parent | a3ef9d24c6c913676d22dd7017a1f1b235d47a45 (diff) | |
download | vyos-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.py | 2 |
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) |