summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpengdake <19921207pq@gmail.com>2018-11-27 10:44:09 +0800
committerpengdake <19921207pq@gmail.com>2018-11-27 10:49:18 +0800
commit6855976e6fd974e84751eaebbe9ac8b7715bbad7 (patch)
treeb085719379a24227063de0d5390551c9565041b1
parent4018bea1f8a0b7abd035d9152d38471777315256 (diff)
Fix bug about promenade debug
The lower of "PROMENADE_DEBUG" never equal to "True". Change-Id: I77b6ece23d39bfcaead764bf3790c099f28b57cb Signed-off-by: pengdake <19921207pq@gmail.com>
Notes
Notes (review): Code-Review+2: Scott Hussey <sthussey@att.com> Code-Review+2: Mark Burnett <mark.m.burnett@gmail.com> Workflow+1: Mark Burnett <mark.m.burnett@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 27 Dec 2018 15:01:28 +0000 Reviewed-on: https://review.openstack.org/620204 Project: openstack/airship-promenade Branch: refs/heads/master
-rw-r--r--promenade/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/promenade/cli.py b/promenade/cli.py
index 261fbaa..c692378 100644
--- a/promenade/cli.py
+++ b/promenade/cli.py
@@ -73,4 +73,4 @@ def genereate_certs(*, config_files, output_dir):
73 73
74 74
75def _debug(): 75def _debug():
76 return os.environ.get('PROMENADE_DEBUG', '').lower() in {'1', 'True'} 76 return os.environ.get('PROMENADE_DEBUG', '').lower() in {'1', 'true'}