Commit 2fc2c979 authored by Berk Onat's avatar Berk Onat

Adding restricted_uri meta info storage to SmartParser.

parent dd1d13ba
......@@ -161,6 +161,7 @@ class ParserBase(object):
parserinfodef=None, recorderOn=False):
self.PARSERTAG = parsertag
self.metaStorage = mStore.Container('section_run')
self.metaStorageRestrict = mStore.Container('section_restricted_uri')
exclude_dict = {
'section_run' : [
'section_processor_info',
......@@ -176,6 +177,7 @@ class ParserBase(object):
self.META_INFO_PATH
)
self.metaStorage.build(jsonmetadata, 'section_run', exclude_dict)
self.metaStorageRestrict.build(jsonmetadata, 'section_restricted_uri', exclude_dict)
self.re_program_name = re_program_name
#set_Dictionaries(self)
self.parserInfo = PARSER_INFO_DEFAULT.copy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment