Merge "OrderedDict can be constructed directly from dict instance"
This commit is contained in:
commit
f47226349a
@ -252,8 +252,7 @@ class Validation(object):
|
||||
:return: An `OrderedDict` with the full data of a validation
|
||||
:rtype: `OrderedDict`
|
||||
"""
|
||||
data = OrderedDict()
|
||||
data.update(self.dict)
|
||||
data = OrderedDict(self.dict)
|
||||
return data
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user