projects
/
snf-image-creator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix various typos, add .gitignore file
[snf-image-creator]
/
image_creator
/
dialog_wizard.py
diff --git
a/image_creator/dialog_wizard.py
b/image_creator/dialog_wizard.py
index
51424e3
..
4e2247d
100644
(file)
--- a/
image_creator/dialog_wizard.py
+++ b/
image_creator/dialog_wizard.py
@@
-227,6
+227,10
@@
def extract_image(session):
#Shrink
size = device.shrink()
#Shrink
size = device.shrink()
+ session['shrinked'] = True
+ getattr(__import__("image_creator.dialog_main",
+ fromlist=['image_creator']),
+ "update_background_title")(session)
metadata.update(device.meta)
metadata['DESCRIPTION'] = wizard['ImageDescription']
metadata.update(device.meta)
metadata['DESCRIPTION'] = wizard['ImageDescription']
@@
-264,7
+268,7
@@
def extract_image(session):
out.success('done')
out.output()
out.success('done')
out.output()
- out.output('Registring image to ~okeanos...', False)
+ out.output('Registering image with ~okeanos...', False)
kamaki.register(wizard['ImageName'], pithos_file, metadata)
out.success('done')
out.output()
kamaki.register(wizard['ImageName'], pithos_file, metadata)
out.success('done')
out.output()
@@
-274,7
+278,7
@@
def extract_image(session):
finally:
out.remove(with_progress)
finally:
out.remove(with_progress)
- msg = "The image was successfully uploaded and registered to " \
+ msg = "The image was successfully uploaded and registered with " \
"~okeanos. Would you like to keep a local copy of the image?"
if not d.yesno(msg, width=PAGE_WIDTH):
getattr(__import__("image_creator.dialog_main",
"~okeanos. Would you like to keep a local copy of the image?"
if not d.yesno(msg, width=PAGE_WIDTH):
getattr(__import__("image_creator.dialog_main",