Skip to content

Commit

Permalink
catch exception with dataset has no author
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Feb 1, 2015
1 parent 1734d2d commit 32fb6b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions voseq/public_interface/management/commands/_migrate_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ def import_table_taxonsets(self):
for item in self.table_taxonsets_items:
if item['taxonset_description'] is None:
item['taxonset_description'] = ''
if item['taxonset_creator'] is None:
item['taxonset_creator'] = ''
if item['taxonset_list'] is not None:
item['taxonset_list'] = item['taxonset_list'].split(',')

Expand Down

0 comments on commit 32fb6b0

Please sign in to comment.