|
@@ -96,6 +96,7 @@ class Dataflow_ActivteMQ_attachment(Dataflow_attachment):
|
|
|
|
|
|
_filemd5 = _attach.getProperties().get(attachment_filemd5)
|
|
|
if _attach.getProperties().get(attachment_status) in (ATTACHMENT_PROCESSED,ATTACHMENT_TOOLARGE):
|
|
|
+ log("%s has processed or toolarge"%(_filemd5))
|
|
|
_html = _attach.getProperties().get(attachment_attachmenthtml,"")
|
|
|
if _html is None:
|
|
|
_html = ""
|
|
@@ -105,7 +106,7 @@ class Dataflow_ActivteMQ_attachment(Dataflow_attachment):
|
|
|
else:
|
|
|
#has process_time then jump
|
|
|
if len(str(_attach.getProperties().get(attachment_process_time,"")))>10:
|
|
|
- log("has process_time jump")
|
|
|
+ log("%s has process_time jump"%(_filemd5))
|
|
|
_html = _attach.getProperties().get(attachment_attachmenthtml,"")
|
|
|
if _html is None:
|
|
|
_html = ""
|
|
@@ -113,6 +114,7 @@ class Dataflow_ActivteMQ_attachment(Dataflow_attachment):
|
|
|
list_html.append({attachment_filemd5:_filemd5,
|
|
|
"html":_html})
|
|
|
else:
|
|
|
+ log("%s requesting interface"%(_filemd5))
|
|
|
_succeed = self.request_attachment_interface(_attach,_dochtmlcon)
|
|
|
if not _succeed:
|
|
|
_not_failed = False
|