mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Spelling is hard
This commit is contained in:
parent
2435b45195
commit
0935fcf4fc
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue