Skip to content

Commit

Permalink
Merge pull request #558 from jerome-poisson/SDNTB-280
Browse files Browse the repository at this point in the history
[NITF] [FORMATTER] fixed doc-id
  • Loading branch information
jerome-poisson committed Sep 5, 2016
2 parents b5d927e + a6c9398 commit 7170eca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superdesk/publish/formatters/nitf_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def _format_docdata_doc_id(self, article, docdata):
def _format_docdata(self, article, docdata):
SubElement(docdata, 'urgency', {'ed-urg': str(article.get('urgency', ''))})
self._format_docdata_dateissue(article, docdata)
self._format_docdata_doc_id(article, docdata)

if article.get('ednote'):
SubElement(docdata, 'ed-msg', {'info': article.get('ednote', '')})
Expand Down

0 comments on commit 7170eca

Please sign in to comment.