File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 5858
5959from sqlalchemy .orm import Session
6060
61- import PyFunceble .checker .utils .whois
6261import PyFunceble .facility
6362import PyFunceble .storage
6463from PyFunceble .checker .availability .extras .base import ExtraRuleHandlerBase
7574from PyFunceble .checker .syntax .domain import DomainSyntaxChecker
7675from PyFunceble .checker .syntax .ip import IPSyntaxChecker
7776from PyFunceble .checker .syntax .url import URLSyntaxChecker
77+ from PyFunceble .checker .utils .whois import get_whois_dataset_object
7878from PyFunceble .converter .url2netloc import Url2Netloc
7979from PyFunceble .query .dns .query_tool import DNSQueryTool
8080from PyFunceble .query .http_status_code import HTTPStatusCode
@@ -758,9 +758,7 @@ def try_to_query_status_from_whois(
758758 if (
759759 PyFunceble .facility .ConfigLoader .is_already_loaded () and self .use_whois_db
760760 ): # pragma: no cover ## Not interesting enough to spend time on it.
761- whois_object = PyFunceble .checker .utils .whois .get_whois_dataset_object (
762- db_session = self .db_session
763- )
761+ whois_object = get_whois_dataset_object (db_session = self .db_session )
764762 known_record = whois_object [self .subject ]
765763
766764 if known_record and not isinstance (known_record , dict ):
Original file line number Diff line number Diff line change 5555import colorama
5656from sqlalchemy .orm import Session
5757
58- import PyFunceble .checker .utils .whois
5958import PyFunceble .cli .utils .stdout
6059import PyFunceble .cli .utils .testing
6160import PyFunceble .facility
You can’t perform that action at this time.
0 commit comments