[projects/pld-ftp-admin] fix rewriting the same line with print() function
baggins
baggins at pld-linux.org
Wed Feb 17 23:33:14 CET 2021
commit 68f2c1fba65f81a28addf328da5008a0726d18d8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Feb 17 23:32:50 2021 +0100
fix rewriting the same line with print() function
bin/pfa-signpkg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bin/pfa-signpkg b/bin/pfa-signpkg
index 0bd8e6e..bfd1f1c 100755
--- a/bin/pfa-signpkg
+++ b/bin/pfa-signpkg
@@ -73,7 +73,7 @@ for file in files:
sign.append(file)
c += 1
n += 1
- print("\r%d/%d %s\033[0K" % (n, c, file))
+ print("\r%d/%d %s\033[0K" % (n, c, file), end='')
print()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/68f2c1fba65f81a28addf328da5008a0726d18d8
More information about the pld-cvs-commit
mailing list