mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Merge pull request #110 from mokaddem/bugfix_categ
Fixed bug in Categ and Mail
This commit is contained in:
commit
01f1545ac0
2 changed files with 2 additions and 2 deletions
|
@ -98,4 +98,4 @@ if __name__ == "__main__":
|
||||||
publisher.info(
|
publisher.info(
|
||||||
'Categ;{};{};{};Detected {} as {};{}'.format(
|
'Categ;{};{};{};Detected {} as {};{}'.format(
|
||||||
paste.p_source, paste.p_date, paste.p_name,
|
paste.p_source, paste.p_date, paste.p_name,
|
||||||
len(found), categ), paste.p_path)
|
len(found), categ, paste.p_path))
|
||||||
|
|
|
@ -62,6 +62,7 @@ if __name__ == "__main__":
|
||||||
publisher.warning(to_print)
|
publisher.warning(to_print)
|
||||||
#Send to duplicate
|
#Send to duplicate
|
||||||
p.populate_set_out(filename, 'Duplicate')
|
p.populate_set_out(filename, 'Duplicate')
|
||||||
|
p.populate_set_out('mail;{}'.format(filename), 'BrowseWarningPaste')
|
||||||
|
|
||||||
else:
|
else:
|
||||||
publisher.info(to_print)
|
publisher.info(to_print)
|
||||||
|
@ -69,7 +70,6 @@ if __name__ == "__main__":
|
||||||
for mail in MX_values[1]:
|
for mail in MX_values[1]:
|
||||||
print 'mail;{};{};{}'.format(1, mail, PST.p_date)
|
print 'mail;{};{};{}'.format(1, mail, PST.p_date)
|
||||||
p.populate_set_out('mail;{};{};{}'.format(1, mail, PST.p_date), 'ModuleStats')
|
p.populate_set_out('mail;{};{};{}'.format(1, mail, PST.p_date), 'ModuleStats')
|
||||||
p.populate_set_out('mail;{}'.format(filename), 'BrowseWarningPaste')
|
|
||||||
|
|
||||||
prec_filename = filename
|
prec_filename = filename
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue