9701: Reverted the use of the optional 'flush' argument on ArvadosFileWriter.close()
authorLucas Di Pentima <lucas@curoverse.com>
Thu, 6 Oct 2016 20:21:49 +0000 (17:21 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Thu, 6 Oct 2016 20:21:49 +0000 (17:21 -0300)
sdk/python/arvados/commands/put.py

index ff640602c4f1291fd7a6c0854743b642a58b3701..1a274104fc76c5ec6449dee5b8387fe3d478170b 100644 (file)
@@ -472,7 +472,7 @@ class ArvPutUploadJob(object):
                 with self._collection_lock:
                     output = self._my_collection().open(filename, 'w')
             self._write(source_fd, output)
-            output.close(flush=False)
+            output.close()
 
     def _write(self, source_fd, output):
         while True: