Revision 5e18a927
b/image_creator/dialog_menu.py | ||
---|---|---|
326 | 326 |
|
327 | 327 |
(code, to_delete) = d.checklist("Choose which cloud accounts to delete:", |
328 | 328 |
choices=choices, width=WIDTH) |
329 |
to_delete = map(lambda x: x.strip('"'), to_delete) # Needed for OpenSUSE |
|
329 | 330 |
|
330 | 331 |
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC): |
331 | 332 |
return False |
... | ... | |
537 | 538 |
|
538 | 539 |
(code, to_delete) = d.checklist("Choose which properties to delete:", |
539 | 540 |
choices=choices, width=WIDTH) |
541 |
to_delete = map(lambda x: x.strip('"'), to_delete) # needed for OpenSUSE |
|
540 | 542 |
|
541 | 543 |
# If the user exits with ESC or CANCEL, the returned tag list is empty. |
542 | 544 |
for i in to_delete: |
... | ... | |
586 | 588 |
choices=choices, height=19, list_height=8, width=WIDTH, |
587 | 589 |
help_button=1, extra_button=1, extra_label="No Config", |
588 | 590 |
title="Exclude Configuration Tasks") |
591 |
tags = map(lambda x: x.strip('"'), tags) # Needed for OpenSUSE |
|
589 | 592 |
|
590 | 593 |
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC): |
591 | 594 |
return False |
... | ... | |
659 | 662 |
"run on the image. Press <Help> to see details about the system " |
660 | 663 |
"preparation tasks.", title="Run system preparation tasks", |
661 | 664 |
choices=choices, width=70, ok_label="Run", help_button=1) |
665 |
tags = map(lambda x: x.strip('"'), tags) # Needed for OpenSUSE |
|
662 | 666 |
|
663 | 667 |
if code in (d.DIALOG_CANCEL, d.DIALOG_ESC): |
664 | 668 |
return False |
Also available in: Unified diff