From 3eda71219365a6ae489cd39cf7c7d084f07effcd Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Thu, 12 Jul 2018 14:58:48 +0200 Subject: [PATCH] add whois expand to test --- .../modules/expansion/securitytrails.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/misp_modules/modules/expansion/securitytrails.py b/misp_modules/modules/expansion/securitytrails.py index d83eeed..ab8087c 100644 --- a/misp_modules/modules/expansion/securitytrails.py +++ b/misp_modules/modules/expansion/securitytrails.py @@ -124,16 +124,16 @@ def handle_domain(api, domain, misperrors): # 'error'] + ' Error in expand History DNS' # return misperrors - r, status_ok = expand_history_whois(api, domain) - - if status_ok: - if r: - - result_filtered['results'].extend(r) - else: - misperrors['error'] = misperrors['error'] + \ - ' Error in expand History Whois' - return misperrors + # r, status_ok = expand_history_whois(api, domain) + # + # if status_ok: + # if r: + # + # result_filtered['results'].extend(r) + # else: + # misperrors['error'] = misperrors['error'] + \ + # ' Error in expand History Whois' + # return misperrors return result_filtered