Преглед на файлове

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

Jonas Borgström преди 11 години
родител
ревизия
e4a28f288f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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: