File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -140,23 +140,27 @@ def compute(self, messages):
140140 break
141141 if same_pattern :
142142 to_filter = True
143+ filter_description = f ['description' ]
143144 break
144145 elif 'content' in f :
145146 if content == f ['content' ]:
146147 to_filter = True
148+ filter_description = f ['description' ]
147149 break
148150 elif 'file_start' in f :
149151 if content .startswith (f ['file_start' ]):
150152 to_filter = True
153+ filter_description = f ['description' ]
151154 break
152155 elif 'file_end' in f :
153156 if content .endswith (f ['file_end' ]):
154157 to_filter = True
158+ filter_description = f ['description' ]
155159 break
156160
157161 # Filter content
158162 if to_filter :
159- print (f'Filtered -------- { feeder_name } : { obj_id } ' )
163+ print (f'Filtered -------- { feeder_name } : { obj_id } -------- { filter_description } ' )
160164 continue
161165
162166 obj = Item (obj_id )
You can’t perform that action at this time.
0 commit comments