Make parser of the android package lister be more forgiving. Without this

I can't build on my machine unless I have the emulator running.
Review URL: https://codereview.chromium.org//11315015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14159 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
gram@google.com 2012-10-26 23:07:29 +00:00
parent f7d27f2c64
commit f4c6bdab09

View file

@ -174,7 +174,9 @@ def ParseAndroidListAvdResult(text):
continue
match = line_re.match(line)
if match is None:
raise utils.Error('Match failed')
sys.stderr.write('Match fail %s\n' % str(line))
continue
#raise utils.Error('Match failed')
entry[match.group(1)] = match.group(2)
if len(entry) > 0:
result.append(entry)