log documents without mail numbers
This commit is contained in:
parent
f9f3a3c1c0
commit
adb42ce1be
|
@ -157,8 +157,9 @@ class Migrate(BrowserView):
|
|||
# this document was not completed, do not create a secondary object
|
||||
second_object_typename = None
|
||||
|
||||
if not ob.mailnumber:
|
||||
if second_object_typename and not ob.mailnumber:
|
||||
# if there's no mailnumber, do not create a secondary object
|
||||
print >> self.logfile, 'W: document without a mail number'
|
||||
second_object_typename = None
|
||||
|
||||
if second_object_typename:
|
||||
|
|
Reference in New Issue