[misc] 01/02: show download progress
Chris West
faux-guest at moszumanska.debian.org
Sat Apr 22 11:19:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository misc.
commit 6d6be506000fcfd23eb521f0c527f803cee92eb7
Author: Chris West (Faux) <git at goeswhere.com>
Date: Sat Apr 22 11:52:22 2017 +0100
show download progress
---
fetch-logs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/fetch-logs b/fetch-logs
index ffb82b8..d77a451 100755
--- a/fetch-logs
+++ b/fetch-logs
@@ -211,9 +211,14 @@ class Store:
with Sponge(self.to_local_path(path)) as dest:
shutil.copyfileobj(resp, dest.fd)
+ sys.stdout.write('.')
+ sys.stdout.flush()
+
finally:
conn.close()
+ print()
+
def package_name(name: str) -> str:
return name[0:name.index('_')]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list