Your Name před 3 roky
rodič
revize
44f503cc7d
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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)