diff --git a/server/aap/publish/formatters/aap_nitf_formatter.py b/server/aap/publish/formatters/aap_nitf_formatter.py index c47e748b5..854db4d17 100644 --- a/server/aap/publish/formatters/aap_nitf_formatter.py +++ b/server/aap/publish/formatters/aap_nitf_formatter.py @@ -35,11 +35,11 @@ def can_format(self, format_type, article): return format_type == 'aap_nitf' and \ article[ITEM_TYPE] in (CONTENT_TYPE.TEXT, CONTENT_TYPE.PREFORMATTED) - def _append_meta(self, article, head, destination, pub_seq_num): + def _format_meta(self, article, head, destination, pub_seq_num): """ Appends elements to """ - super()._append_meta(article, head, destination, pub_seq_num) + super()._format_meta(article, head, destination, pub_seq_num) if 'anpa_category' in article and article['anpa_category'] is not None and len( article.get('anpa_category')) > 0: @@ -76,7 +76,7 @@ def _append_meta(self, article, head, destination, pub_seq_num): if SIGN_OFF in article: SubElement(head, 'meta', {'name': 'aap-signoff', 'content': article.get(SIGN_OFF, '') or ''}) - def _append_meta_priority(self, article, head): + def _format_meta_priority(self, article, head): if 'priority' in article: SubElement(head, 'meta', {'name': 'aap-priority', 'content': str(article['priority'])}) diff --git a/server/requirements.txt b/server/requirements.txt index f44a114f5..bd05d3095 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -4,5 +4,5 @@ pyodbc==3.0.10 unidecode==0.04.19 -git+git://github.com/superdesk/superdesk-core.git@a3965a579#egg=Superdesk-Core +git+git://github.com/superdesk/superdesk-core.git@3c7eb1e64#egg=Superdesk-Core