Your Name 3 anos atrás
pai
commit
44f503cc7d
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      hhh/aws-monitor/cl-test.py

+ 2 - 0
hhh/aws-monitor/cl-test.py

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