home · contact · privacy
Server/py: Remove superfluous os.fsync().
authorChristian Heller <c.heller@plomlompom.de>
Sun, 8 Mar 2015 15:39:16 +0000 (16:39 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 8 Mar 2015 15:39:16 +0000 (16:39 +0100)
plomrogue-server.py

index e9fdabd74ee0fe4d12ec5383253ef493edc8353f..5af05f7949e2ca18c16bcb3359d0f73d67fc6e10 100755 (executable)
@@ -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():