Revision df0045d8 kamaki/cli/config.py
b/kamaki/cli/config.py | ||
---|---|---|
230 | 230 |
log.warning('..... config file has an old global section') |
231 | 231 |
return 0.8 |
232 | 232 |
log.warning('........ nope') |
233 |
log.warning('Config file heuristic 2: missing all cloud sections ?')
|
|
233 |
log.warning('Config file heuristic 2: Any cloud sections ?')
|
|
234 | 234 |
if 'cloud' in sections: |
235 | 235 |
for r in self.keys('cloud'): |
236 | 236 |
log.warning('... found cloud "%s"' % r) |
237 | 237 |
return 0.9 |
238 |
log.warning('........ yep')
|
|
238 |
log.warning('........ nope')
|
|
239 | 239 |
log.warning('All heuristics failed, cannot decide') |
240 |
return 0.0
|
|
240 |
return 0.9
|
|
241 | 241 |
|
242 | 242 |
def get_cloud(self, cloud, option): |
243 | 243 |
""" |
Also available in: Unified diff