fix bugs found by pylint
diff --git a/src/python/oftest/controller.py b/src/python/oftest/controller.py
index df24c89..b23eefa 100644
--- a/src/python/oftest/controller.py
+++ b/src/python/oftest/controller.py
@@ -26,6 +26,7 @@
"""
+import sys
import os
import socket
import time
@@ -472,7 +473,7 @@
self.wakeup()
with self.connect_cv:
if self.initial_hello:
- self.message_send(hello())
+ self.message_send(ofp.message.hello())
self.connect_cv.notify() # Notify anyone waiting
else:
self.logger.error("Could not actively connect to switch %s",