fix build: make check_radio_versions.py okay with no args
Change-Id: I3539383d9761b57152c04ba9198c724509ba6223
This commit is contained in:
parent
2c4dc95767
commit
8f3670bbc5
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from sha import sha as sha1
|
from sha import sha as sha1
|
||||||
|
|
||||||
|
if len(sys.argv) < 2:
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
build_info = {}
|
build_info = {}
|
||||||
f = open(sys.argv[1])
|
f = open(sys.argv[1])
|
||||||
for line in f:
|
for line in f:
|
||||||
|
|
Loading…
Reference in a new issue