fix docker prune AGAIN
This commit is contained in:
		
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							| @@ -7,7 +7,7 @@ README_MD = open(join(dirname(abspath(__file__)), "README.md")).read() | |||||||
|  |  | ||||||
| setup( | setup( | ||||||
|     name="trueupdate", |     name="trueupdate", | ||||||
|     version="2.1.4", |     version="2.1.5", | ||||||
|  |  | ||||||
|     # The packages that constitute your project. |     # The packages that constitute your project. | ||||||
|     # For my project, I have only one - "pydash". |     # For my project, I have only one - "pydash". | ||||||
|   | |||||||
| @@ -111,7 +111,7 @@ def sync_catalog(): | |||||||
| def docker_prune(): | def docker_prune(): | ||||||
|     if PRUNE: |     if PRUNE: | ||||||
|       print("Pruning old docker images...\n") |       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: |       while process.poll() is None: | ||||||
|           lines = process.stdout.readline() |           lines = process.stdout.readline() | ||||||
|           print (lines) |           print (lines) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user