fix syntax error due to the versionning script
This commit is contained in:
parent
b40bd68d6e
commit
e5cc1855da
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ IS_PY3 = sys.version_info[0] >= 3
|
||||||
class ChromeDownloader(FancyURLopener):
|
class ChromeDownloader(FancyURLopener):
|
||||||
version = (
|
version = (
|
||||||
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
|
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
|
||||||
'(KHTML, like Gecko) Chrome/28.0.1.1.dev00.71 Safari/537.36')
|
'(KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36')
|
||||||
|
|
||||||
|
|
||||||
urlretrieve = ChromeDownloader().retrieve
|
urlretrieve = ChromeDownloader().retrieve
|
||||||
|
@ -684,7 +684,7 @@ class Buildozer(object):
|
||||||
progression = '{0} bytes'.format(index * blksize)
|
progression = '{0} bytes'.format(index * blksize)
|
||||||
else:
|
else:
|
||||||
progression = '{0:.2f}%'.format(
|
progression = '{0:.2f}%'.format(
|
||||||
index * blksize * 1.1.dev0. / float(size))
|
index * blksize * 100. / float(size))
|
||||||
if "CI" not in environ:
|
if "CI" not in environ:
|
||||||
stdout.write('- Download {}\r'.format(progression))
|
stdout.write('- Download {}\r'.format(progression))
|
||||||
stdout.flush()
|
stdout.flush()
|
||||||
|
|
Loading…
Reference in a new issue