浏览代码

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: