Bug 694241 - devicemanagerADB has error in getDirectory causing remotereftest failures. r=wlach

This commit is contained in:
Joel Maher 2011-10-14 07:52:01 -04:00
parent e2350deb52
commit f76f05bba1

View File

@ -323,7 +323,8 @@ class DeviceManagerADB(DeviceManager):
ret.append(f)
line = p.stderr.readline()
#the last line is a summary
ret.pop(len(ret) - 1)
if (len(ret) > 0):
ret.pop()
return ret