We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 275ce0e commit f29583eCopy full SHA for f29583e
habu/cli/cmd_whois_domain.py
@@ -4,7 +4,13 @@
4
import warnings
5
6
import click
7
-import whois
+
8
+# next lines because the pypi package python-whois uses the namespace 'whois' and
9
+# the Debian python3-pywhois uses the namespace 'pywhois' at least on 2018-11-03
10
+try:
11
+ import pywhois as whois
12
+except ModuleNotFoundError:
13
+ import whois
14
15
16
def remove_duplicates(data):
setup.py
@@ -5,7 +5,7 @@
setup(
name='habu',
- version='0.0.87',
+ version='0.0.88',
description='Python Network Hacking Toolkit',
long_description=readme,
long_description_content_type='text/markdown',
0 commit comments