Commit 7b84d236 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

ci: kamaki config.get_global method is deprecated

Use the newer config.get("global", ..) syntax.
Fallback to the old one for older version of kamaki.
parent 2622b117
......@@ -185,7 +185,11 @@ class SynnefoCI(object):
config = kamaki_config.Config()
if self.kamaki_cloud is None:
self.kamaki_cloud = config.get_global("default_cloud")
self.kamaki_cloud = config.get("global", "default_cloud")
except AttributeError:
# Compatibility with kamaki version <=0.10
self.kamaki_cloud = config.get_global("default_cloud")"Setup kamaki client, using cloud '%s'.." %
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment