1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

display cpio download message immediately

This commit is contained in:
Ludwig Nussel 2010-03-17 16:47:52 +01:00
parent cecd75db4d
commit 34045ec999

View File

@ -188,6 +188,8 @@ class Fetcher:
url = makeurl(buildinfo.apiurl,
['public/build', project, repo, buildinfo.buildarch, '_repository'],
query=query)
sys.stdout.write("preparing download ...\r")
sys.stdout.flush()
self.gr.urlgrab(url, filename = tmparchive, text = 'fetching cpio for \'%s\'' % project)
archive = cpio.CpioRead(tmparchive)
archive.read()