commit leftover logging code from server

This commit is contained in:
Frédéric Péters 2013-11-15 16:53:31 +01:00
parent 15aa5d0286
commit 67e0b6168c
1 changed files with 2 additions and 0 deletions

View File

@ -341,6 +341,8 @@ class SyncFromThemis(UtilityView):
object.author_is_government = True
elif authors_v:
authors_intids = [self.get_author_intid(x) for x in authors_v]
if None in authors_intids:
log.warn('unknown error in doc %s' % object.id)
object.authors = [RelationValue(x) for x in authors_intids if x]
object.author_is_government = False
else: