summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomanos Skiadas <rski@intracom-telecom.com>2017-03-17 18:01:14 +0200
committerRomanos Skiadas <rski@intracom-telecom.com>2017-03-17 18:01:35 +0200
commit28c5fc2391e133e4b76f1bed8675bc9610ebdf9b (patch)
tree34301f1197dbaef419d1a3e3bdb609112cd174a3
parent6bb2eae86a0935443d8e65df0780c3df994a669b (diff)
Fix broken call to re.search()
Change-Id: I3d49c683c81e136967432acd1d28b6d305cfe90f Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
-rw-r--r--sdnvpn/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py
index a047269..98a1e87 100644
--- a/sdnvpn/lib/utils.py
+++ b/sdnvpn/lib/utils.py
@@ -417,7 +417,7 @@ def wait_for_cloud_init(instance):
logger.error("Cloud init failed to run. Reason: %s",
instance_log)
break
- if re.search(r"Cloud-init v. .+ finished at" in instance_log):
+ if re.search(r"Cloud-init v. .+ finished at", instance_log):
success = True
break
time.sleep(sleep_time)