Revision 769526cb image_creator/dialog_wizard.py
b/image_creator/dialog_wizard.py | ||
---|---|---|
301 | 301 |
out.success('done') |
302 | 302 |
out.output() |
303 | 303 |
|
304 |
is_public = True if w['ImageRegistration'] == "Public" else False |
|
304 |
is_public = True if wizard['ImageRegistration'] == "Public" else \ |
|
305 |
False |
|
305 | 306 |
out.output('Registering %s image with ~okeanos ...' % |
306 |
w['ImageRegistration'].lower(), False) |
|
307 |
wizard['ImageRegistration'].lower(), False)
|
|
307 | 308 |
kamaki.register(wizard['ImageName'], pithos_file, metadata, |
308 | 309 |
is_public) |
309 | 310 |
out.success('done') |
... | ... | |
316 | 317 |
|
317 | 318 |
msg = "The %s image was successfully uploaded and registered with " \ |
318 | 319 |
"~okeanos. Would you like to keep a local copy of the image?" \ |
319 |
% w['ImageRegistration'].lower() |
|
320 |
% wizard['ImageRegistration'].lower()
|
|
320 | 321 |
if not d.yesno(msg, width=PAGE_WIDTH): |
321 | 322 |
extract_image(session) |
322 | 323 |
|
Also available in: Unified diff