fix build: make check_radio_versions.py okay with no args

Change-Id: I3539383d9761b57152c04ba9198c724509ba6223
This commit is contained in:
Doug Zongker 2012-03-21 10:01:01 -07:00
parent 2c4dc95767
commit 8f3670bbc5

View file

@ -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: