Skip to content
Snippets Groups Projects
Commit 70e965ce authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

temporary fix

parent 9cfdc1fa
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,8 @@ except ImportError :
import DNS # http://pydns.sf.net/
HAVE_PYDNS = True
except ImportError :
self.DEBUG("Couldn't load a supported DNS library. SRV records will not be queried and some servers may not be accessible.", 'warn')
#TODO: use self.DEBUG()
print "Couldn't load a supported DNS library. SRV records will not be queried and some servers may not be accessible."
DATA_RECEIVED='DATA RECEIVED'
DATA_SENT='DATA SENT'
......@@ -89,7 +90,8 @@ class TCPsocket(PlugIn):
port = int(port)
break
except:
self.DEBUG('An error occurred looking up %s' % query, 'warn')
#TODO: use self.DEBUG()
print 'An error occurred looking up %s' % query
server = (host, port)
# end of SRV resolver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment