cleanup sync messages
This commit is contained in:
parent
1064d1e13f
commit
75c6fe0199
@ -105,8 +105,10 @@ def sync_catalog():
|
|||||||
process = subprocess.Popen(["cli", "-c", "app catalog sync_all"], stdout=subprocess.PIPE)
|
process = subprocess.Popen(["cli", "-c", "app catalog sync_all"], stdout=subprocess.PIPE)
|
||||||
while process.poll() is None:
|
while process.poll() is None:
|
||||||
lines = process.stdout.readline()
|
lines = process.stdout.readline()
|
||||||
print (lines)
|
print (lines.decode('utf-8'))
|
||||||
print (process.stdout.read())
|
temp = process.stdout.read()
|
||||||
|
if temp:
|
||||||
|
print (temp.decode('utf-8'))
|
||||||
|
|
||||||
def docker_prune():
|
def docker_prune():
|
||||||
if PRUNE:
|
if PRUNE:
|
||||||
|
Loading…
Reference in New Issue
Block a user