@@ -9,6 +9,8 @@ lst=[]
while True:
l = cl.stdout.readline()
+ if not l:
+ break
if '"AccessKeyId":' in l:
lst.append(l)