mirror of https://github.com/mpv-player/mpv
bootstrap.py: reindent to 4 spaces
This commit is contained in:
parent
54948f1b62
commit
27d578a847
|
@ -10,10 +10,10 @@ WAFURL = "https://waf.googlecode.com/files/" + WAFRELEASE
|
||||||
SHA256HASH = "03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873"
|
SHA256HASH = "03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873"
|
||||||
|
|
||||||
if os.path.exists("waf"):
|
if os.path.exists("waf"):
|
||||||
wafver = subprocess.check_output(['./waf', '--version']).decode()
|
wafver = subprocess.check_output(['./waf', '--version']).decode()
|
||||||
if WAFRELEASE.split('-')[1] == wafver.split(' ')[1]:
|
if WAFRELEASE.split('-')[1] == wafver.split(' ')[1]:
|
||||||
print("Found 'waf', skipping download.")
|
print("Found 'waf', skipping download.")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
Loading…
Reference in New Issue