From 4da492181f3fea0a335a9e315006b361e66a9c05 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Wed, 19 Jan 2022 18:59:44 +0100 Subject: [PATCH] fix docker prune AGAIN --- setup.py | 2 +- trueupdate/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6a151ee7..b5fadf4d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README_MD = open(join(dirname(abspath(__file__)), "README.md")).read() setup( name="trueupdate", - version="2.1.4", + version="2.1.5", # The packages that constitute your project. # For my project, I have only one - "pydash". diff --git a/trueupdate/__init__.py b/trueupdate/__init__.py index 3dd3d687..5dfe766c 100644 --- a/trueupdate/__init__.py +++ b/trueupdate/__init__.py @@ -111,7 +111,7 @@ def sync_catalog(): def docker_prune(): if PRUNE: print("Pruning old docker images...\n") - process = subprocess.Popen(["docker", "image ", "prune", "-af"], stdout=subprocess.PIPE) + process = subprocess.Popen(["docker", "image", "prune", "-af"], stdout=subprocess.PIPE) while process.poll() is None: lines = process.stdout.readline() print (lines)