Commits

Chad Burrus committed 084d323

fix Tee.flush

  • Participants
  • Parent commits 959173a

Comments (0)

Files changed (1)

     def write(self, data):
         self.file.write(data)
         self.stdout.write(data)
-    def flush(self, data):
-        self.file.flush(data)
-        self.stdout.flush(data)
+    def flush(self):
+        self.file.flush()
+        self.stdout.flush()