Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated code. The kind attribute was renamed to genre.

  • Loading branch information...
commit 6d5f96bfba057baa4317a8de7ba7adedda7a6ca3 1 parent 1bed052
@nueces authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/transmogrify/nitf/migrator.py
View
4 src/transmogrify/nitf/migrator.py
@@ -23,7 +23,7 @@
from collective.transmogrifier.transmogrifier import Transmogrifier
from collective.nitf.content import INITF
-from collective.nitf.content import kind_default_value
+from collective.nitf.content import genre_default_value
from collective.nitf.content import section_default_value
from collective.nitf.content import urgency_default_value
@@ -111,7 +111,7 @@ def __iter__(self):
#obj.abstract = item['description']
obj.byline = ''
obj.text = RichTextValue(item['text'], 'text/html', 'text/x-html-safe')
- obj.kind = kind_default_value(None)
+ obj.genre = genre_default_value(None)
obj.section = section_default_value(None)
obj.urgency = urgency_default_value(None)
Please sign in to comment.
Something went wrong with that request. Please try again.