oops house keeping work
This commit is contained in:
parent
cddb6a98c8
commit
870b703296
|
@ -523,7 +523,6 @@ class Parser (Process):
|
|||
merger = jsonmerge
|
||||
|
||||
_claim = merger.merge(DEFAULT_VALUE.copy(),_claim)
|
||||
print (['billing_pr_name' in _claim, 'billing_pr_name' in DEFAULT_VALUE])
|
||||
claims.append( _claim)
|
||||
segment = [row]
|
||||
|
||||
|
@ -546,6 +545,8 @@ class Parser (Process):
|
|||
|
||||
else:
|
||||
schema = None
|
||||
#
|
||||
# @TODO: Fix merger related to schema (drops certain fields ... NOT cool)
|
||||
if not schema :
|
||||
merger = jsonmerge
|
||||
merger = jsonmerge.Merger(schema)
|
||||
|
|
Loading…
Reference in New Issue