home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5921ee
)
Server/py: Apply PEP8.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 22 Feb 2015 11:44:12 +0000
(12:44 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 22 Feb 2015 11:44:12 +0000
(12:44 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 5018304e6a0af417d5e0d450162bb918a16ad498..671edd0e96fee8522f778d0c480d0d24d58f0ce5 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-98,7
+98,7
@@
def record(cmd, io_db):
os.rename(path_tmp, io_db["path_record"])
-def obey_lines_in_file(path, name, break_test
=
None):
+def obey_lines_in_file(path, name, break_test
=
None):
"""Call obey() on each line of path's file, use name in input prefix.
If break_test function is set, only read the file until it returns True.
@@
-120,7
+120,6
@@
def make_turn_tester(turn_to_compare, world_db):
return turn_tester
-
def parse_command_line_arguments():
"""Return settings values read from command line arguments."""
parser = argparse.ArgumentParser()