Spelling is hard

This commit is contained in:
Mike Place 2015-11-05 16:21:37 -07:00
parent 2435b45195
commit 0935fcf4fc
2 changed files with 2 additions and 2 deletions

View file

@ -245,7 +245,7 @@ def setvals(grains, destructive=False):
except (TypeError, NameError):
# This likely means we are running under Python 2.6 which cannot deepcopy
# bound methods. Fallback to a modification of deepcopy which can support
# this behavoir.
# this behavior.
yaml_reps = salt.utils.compat.deepcopy_bound(yaml.representer.SafeRepresenter.yaml_representers)
yaml_multi_reps = salt.utils.compat.deepcopy_bound(yaml.representer.SafeRepresenter.yaml_multi_representers)
yaml.representer.SafeRepresenter.add_representer(collections.defaultdict,

View file

@ -34,7 +34,7 @@ def deepcopy_bound(name):
- This method will mutate the global deepcopy dispatcher, which means that
this function is NOT threadsafe!
- Not Py3 compatable. The intended use case is deepcopy compat for Py2.6
- Not Py3 compatible. The intended use case is deepcopy compat for Py2.6
'''
def _deepcopy_method(x, memo):