mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix typo in sky_tool causing crash
This will require me to roll the sky pub package, sigh. R=ianh@google.com Review URL: https://codereview.chromium.org/1090713002
This commit is contained in:
parent
22d00b5cd7
commit
2c9ddfc8ff
@ -211,7 +211,7 @@ class StopSky(object):
|
||||
class SkyShellRunner(object):
|
||||
def _check_for_adb(self):
|
||||
try:
|
||||
subprocess.call([ADB_PATH, '--help'])
|
||||
subprocess.check_output([ADB_PATH, 'devices'])
|
||||
except OSError:
|
||||
print "'adb' (from the Android SDK) not in $PATH, can't continue."
|
||||
return False
|
||||
@ -220,7 +220,7 @@ class SkyShellRunner(object):
|
||||
|
||||
def main(self):
|
||||
logging.basicConfig(level=logging.WARNING)
|
||||
if not self._check_for_adb()
|
||||
if not self._check_for_adb():
|
||||
sys.exit(2)
|
||||
|
||||
parser = argparse.ArgumentParser(description='Sky Demo Runner')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user