From: Christian Heller Date: Sun, 22 Feb 2015 11:44:12 +0000 (+0100) Subject: Server/py: Apply PEP8. X-Git-Tag: tce~498 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/process_descriptions?a=commitdiff_plain;h=91c480898ba7c1312bd69a6270eb08afaebc08c3;p=plomrogue Server/py: Apply PEP8. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index 5018304..671edd0 100755 --- 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()