Przeglądaj źródła

Remove flush=True argument from print() since it is Python3.3+

Jonas Borgström 11 lat temu
rodzic
commit
e4a28f288f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      attic/repository.py

+ 1 - 1
attic/repository.py

@@ -213,7 +213,7 @@ class Repository(object):
             if error:
                 error_found = True
             if error or progress:
-                print(msg, file=sys.stderr, flush=True)
+                print(msg, file=sys.stderr)
         seen = set()
         for segment, filename in self.io._segment_names():
             if progress: