Removed debug statements python3
authorJohnny Wezel<j@wezel.name>
Sun, 07 Feb 2016 23:40:59 +0100
branchpython3
changeset 73 644d81a7995b
parent 72 26db2c025614
child 74 4f9e0d921642
Removed debug statements
whois/__init__.py
whois/whois.py
--- a/whois/__init__.py	Sun Feb 07 23:38:20 2016 +0100
+++ b/whois/__init__.py	Sun Feb 07 23:40:59 2016 +0100
@@ -61,7 +61,6 @@
         url = url.decode('utf-8')
     url = re.sub(b'^.*://', b'', url.encode('idna')).split(b'/')[0].lower()
     domain = []
-    print('url:', url)
 
     for section in url.split(b'.'):
         if section in suffixes:
--- a/whois/whois.py	Sun Feb 07 23:38:20 2016 +0100
+++ b/whois/whois.py	Sun Feb 07 23:40:59 2016 +0100
@@ -134,7 +134,6 @@
 
     def choose_server(self, domain):
         """Choose initial lookup NIC host"""
-        print('domain:', domain)
         if type(domain) is not str:
             domain = domain.decode('utf-8').encode('idna').decode('utf-8')
         if domain.endswith("-NORID"):
@@ -172,7 +171,6 @@
             )
         elif self.use_qnichost:
             nichost = self.choose_server(query_arg)
-            print('nichost:', nichost)
             if nichost is not None:
                 result = self.whois(query_arg, nichost, flags)
             else: