From b52e7317dd4dda12ab11ee6002a3eccdc4e1004b Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Wed, 22 Jun 2016 14:05:24 -0700 Subject: [PATCH] Fix the ImportError when using pip install Change-Id: Ia68e65f10d2f394d53b50ec0217fe6c2a2a1a623 --- kloudbuster/kb_runner_base.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kloudbuster/kb_runner_base.py b/kloudbuster/kb_runner_base.py index c9e7930..279891b 100644 --- a/kloudbuster/kb_runner_base.py +++ b/kloudbuster/kb_runner_base.py @@ -88,7 +88,7 @@ class KBRunner(object): continue break if not success: - LOG.error("Error: Cannot connect to the Redis server") + LOG.error("Cannot connect to the Redis server.") raise KBProxyConnectionException() # Subscribe to message channel diff --git a/requirements.txt b/requirements.txt index 8b26127..0e9e1bd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,6 +14,7 @@ oslo.log>=1.0.0 pecan>=0.9.0 redis>=2.10.3 tabulate>=0.7.3 +pytz>=2016.4 # Workaround for pip install failed on RHEL/CentOS functools32>=3.2.3