|
|
@ -366,7 +366,7 @@ class Parser (Process):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
key = row[0]
|
|
|
|
key = row[0]
|
|
|
|
return self.cache[key] if key in self.cache else {}
|
|
|
|
return self.cache[key] if key in self.cache else {}
|
|
|
|
pass
|
|
|
|
|
|
|
|
def apply(self,content,_code) :
|
|
|
|
def apply(self,content,_code) :
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
:content content of a file i.e a segment with the envelope
|
|
|
|
:content content of a file i.e a segment with the envelope
|
|
|
@ -487,6 +487,7 @@ class Parser (Process):
|
|
|
|
logs = []
|
|
|
|
logs = []
|
|
|
|
claims = []
|
|
|
|
claims = []
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
self.cache = {}
|
|
|
|
file = open(filename.strip())
|
|
|
|
file = open(filename.strip())
|
|
|
|
file = file.read().split('CLP')
|
|
|
|
file = file.read().split('CLP')
|
|
|
|
_code = '835'
|
|
|
|
_code = '835'
|
|
|
|