Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image-creator
Commits
769526cb
Commit
769526cb
authored
Mar 19, 2013
by
Nikos Skalkotos
Browse files
Fix a bug in wizard introduced in
37d581b8
parent
baa62724
Changes
1
Hide whitespace changes
Inline
Side-by-side
image_creator/dialog_wizard.py
View file @
769526cb
...
...
@@ -301,9 +301,10 @@ def create_image(session):
out
.
success
(
'done'
)
out
.
output
()
is_public
=
True
if
w
[
'ImageRegistration'
]
==
"Public"
else
False
is_public
=
True
if
wizard
[
'ImageRegistration'
]
==
"Public"
else
\
False
out
.
output
(
'Registering %s image with ~okeanos ...'
%
w
[
'ImageRegistration'
].
lower
(),
False
)
w
izard
[
'ImageRegistration'
].
lower
(),
False
)
kamaki
.
register
(
wizard
[
'ImageName'
],
pithos_file
,
metadata
,
is_public
)
out
.
success
(
'done'
)
...
...
@@ -316,7 +317,7 @@ def create_image(session):
msg
=
"The %s image was successfully uploaded and registered with "
\
"~okeanos. Would you like to keep a local copy of the image?"
\
%
w
[
'ImageRegistration'
].
lower
()
%
w
izard
[
'ImageRegistration'
].
lower
()
if
not
d
.
yesno
(
msg
,
width
=
PAGE_WIDTH
):
extract_image
(
session
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment