projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo fix.
[open-adventure.git]
/
make_graph.py
diff --git
a/make_graph.py
b/make_graph.py
index 779572ad3f0ef14d91debcc74e08cc832e588d1a..5a58895a39b0715b504ae620a632576a1151e99b 100755
(executable)
--- a/
make_graph.py
+++ b/
make_graph.py
@@
-1,5
+1,5
@@
#!/usr/bin/env python3
#!/usr/bin/env python3
-# SPDX-FileCopyrightText:
Copyright
Eric S. Raymond <esr@thyrsus.com>
+# SPDX-FileCopyrightText:
(C)
Eric S. Raymond <esr@thyrsus.com>
# SPDX-License-Identifier: BSD-2-Clause
"""\
usage: make_graph.py [-a] [-d] [-m] [-s] [-v]
# SPDX-License-Identifier: BSD-2-Clause
"""\
usage: make_graph.py [-a] [-d] [-m] [-s] [-v]
@@
-144,6
+144,7
@@
if __name__ == "__main__":
debug = False
for (switch, val) in options:
if switch == "-a":
debug = False
for (switch, val) in options:
if switch == "-a":
+ # pylint: disable=unnecessary-lambda-assignment
subset = lambda loc: True
elif switch == "-d":
subset = alldifferent
subset = lambda loc: True
elif switch == "-d":
subset = alldifferent