mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
pep8 complaint
This commit is contained in:
parent
3e96abaa8d
commit
4057256728
@ -129,9 +129,9 @@ def merge(dest, src, merge_lists=False, in_place=True):
|
||||
instead of directly on the command-line.
|
||||
'''
|
||||
if in_place:
|
||||
merged = dest
|
||||
merged = dest
|
||||
else:
|
||||
merged = copy.deepcopy(dest)
|
||||
merged = copy.deepcopy(dest)
|
||||
return dictupdate.update(merged, src, merge_lists=merge_lists)
|
||||
|
||||
|
||||
@ -146,4 +146,4 @@ def deepcopy(source):
|
||||
It is more typical to use this in a templating language in formulas,
|
||||
instead of directly on the command-line.
|
||||
'''
|
||||
return copy.deepcopy(source)
|
||||
return copy.deepcopy(source)
|
||||
|
@ -171,4 +171,4 @@ class DefaultsTestCase(TestCase, LoaderModuleMockMixin):
|
||||
}
|
||||
|
||||
self.assertFalse(src == dist)
|
||||
self.assertTrue(dist == result)
|
||||
self.assertTrue(dist == result)
|
||||
|
Loading…
Reference in New Issue
Block a user