Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Tobias Langer
/
experiment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
21fda769
authored
8 years ago
by
Tobias Langer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed errornous string compare.
parent
d27fb4f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
generate.py
+2
-2
No files found.
generate.py
View file @
21fda769
...
...
@@ -27,9 +27,9 @@ def query_yes_no(question, default=None):
if
default
is
None
:
prompt
=
' [y/n]'
elif
default
.
lower
()
is
'yes'
:
elif
default
.
lower
()
==
'yes'
:
prompt
=
' [Y/n]'
elif
default
.
lower
()
is
'no'
:
elif
default
.
lower
()
==
'no'
:
prompt
=
' [y/N]'
else
:
raise
ValueError
(
'Invalid default answer {}'
.
format
(
default
))
...
...
This diff is collapsed.
Click to expand it.
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