Преглед изворни кода

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: