Just adding something before checking out

pull/5/head
tmitche2 2020-03-05 16:07:43 -05:00
parent ad043c22cf
commit 3804820b80
1 changed files with 4 additions and 2 deletions

View File

@ -67,11 +67,13 @@ def enhance_results(r):
if r.get('title') == 'renewal':
return r
return {**r, **{'original': strip_tags(r.get('xml')),
""" return {**r, **{'original': strip_tags(r.get('xml')),
'is_post_1963': is_post_1963(r.get('registrations')),
'is_foreign': is_foreign(r.get('registrations')),
'is_interim': is_interim(r.get('registrations')),
'source_url': ia_url(r.get('source', {}))}}
'source_url': ia_url(r.get('source', {}))}} """
return r
def strip_tags(xml):