summaryrefslogtreecommitdiff
path: root/cxmanage_api/ip_retriever.py
diff options
context:
space:
mode:
Diffstat (limited to 'cxmanage_api/ip_retriever.py')
-rw-r--r--cxmanage_api/ip_retriever.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cxmanage_api/ip_retriever.py b/cxmanage_api/ip_retriever.py
index 39fbb30..d750f12 100644
--- a/cxmanage_api/ip_retriever.py
+++ b/cxmanage_api/ip_retriever.py
@@ -41,7 +41,8 @@ from time import sleep
from cxmanage_api.cx_exceptions import IPDiscoveryError
-from pexpect import TIMEOUT, EOF
+if sys.platform != 'win32':
+ from pexpect import TIMEOUT, EOF
from pyipmi import make_bmc
from pyipmi.server import Server
from pyipmi.bmc import LanBMC