fixed spacing issues. Put back in the commented out try/catch blocks
@@ -182,7 +182,7 @@ def Jobs():
pass
# get finished jobs
- #try:
+ try:
d_client = docker.from_env()
c = d_client.containers.list(all=True,
filters={'label': 'vent-plugin'})
@@ -248,8 +248,8 @@ def Jobs():
jobs[3] = jobs[3] - jobs[1]
- # except Exception as e: # pragma: no cover
- # pass
+ except Exception as e: # pragma: no cover
+ pass
return tuple(jobs)
