From: Christian Heller Date: Sun, 8 Mar 2015 15:39:16 +0000 (+0100) Subject: Server/py: Remove superfluous os.fsync(). X-Git-Tag: tce~370 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/calendar?a=commitdiff_plain;h=54e227069cb50992e19014fd857e9b846b371d09;p=plomrogue Server/py: Remove superfluous os.fsync(). --- diff --git a/plomrogue-server.py b/plomrogue-server.py index e9fdabd..5af05f7 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -56,10 +56,9 @@ def prep_library(): def strong_write(file, string): - """Apply write(string), flush(), and os.fsync() to file.""" + """Apply write(string), then flush().""" file.write(string) file.flush() - os.fsync(file) def setup_server_io():