projects
/
snf-image-creator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a typo in a variable name
[snf-image-creator]
/
image_creator
/
dialog_main.py
diff --git
a/image_creator/dialog_main.py
b/image_creator/dialog_main.py
index
0834cb4
..
7895287
100644
(file)
--- a/
image_creator/dialog_main.py
+++ b/
image_creator/dialog_main.py
@@
-199,6
+199,10
@@
def _dialog_form(self, text, height=20, width=60, form_height=15, fields=[],
def main():
+ # In OpenSUSE dialog is buggy under xterm
+ if os.environ['TERM'] == 'xterm':
+ os.environ['TERM'] = 'linux'
+
d = dialog.Dialog(dialog="dialog")
# Add extra button in dialog library