Revision a4986073 kamaki/cli/__init__.py
b/kamaki/cli/__init__.py | ||
---|---|---|
197 | 197 |
|
198 | 198 |
def _check_config_version(cnf): |
199 | 199 |
guess = cnf.guess_version() |
200 |
if exists(cnf.path) and guess < 0.9: |
|
201 |
print('Config file format version >= 9.0 is required') |
|
200 |
if exists(cnf.path) and guess < 0.12: |
|
201 |
print('Config file format version >= 0.12 is required (%s found)' % ( |
|
202 |
guess)) |
|
202 | 203 |
print('Configuration file: %s' % cnf.path) |
203 | 204 |
print('Attempting to fix this:') |
204 | 205 |
print('Calculating changes while preserving information') |
Also available in: Unified diff