From 1c2a06d18941c02e9ef6ecadc6b7cb3ec3f63d26 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 7 Jul 2013 12:58:16 -0700 Subject: [PATCH] salt/utils/yamlloader.py: fix typos in comments --- salt/utils/yamlloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/utils/yamlloader.py b/salt/utils/yamlloader.py index 1d95e258a6..8490a765e5 100644 --- a/salt/utils/yamlloader.py +++ b/salt/utils/yamlloader.py @@ -27,7 +27,7 @@ class DuplicateKeyWarning(RuntimeWarning): warnings.simplefilter('always', category=DuplicateKeyWarning) -# with code integrated form https://gist.github.com/844388 +# with code integrated from https://gist.github.com/844388 class CustomLoader(yaml.SafeLoader): ''' Create a custom YAML loader that uses the custom constructor. This allows @@ -37,7 +37,7 @@ class CustomLoader(yaml.SafeLoader): def __init__(self, stream, dictclass=dict): yaml.SafeLoader.__init__(self, stream) if dictclass is not dict: - # then assume ordred dict and use it for both !map and !omap + # then assume ordered dict and use it for both !map and !omap self.add_constructor( u'tag:yaml.org,2002:map', type(self).construct_yaml_map)