Skip to content
Snippets Groups Projects
Commit 3e52972f authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[execution][docker] Code cleanup

parent f4e5b8f1
No related branches found
No related tags found
1 merge request!62Code cleanup
......@@ -47,8 +47,6 @@ import shutil
import logging
import requests
import simplejson
import zmq
import docker
from beat.backend.python.execution import MessageHandler
......@@ -203,7 +201,7 @@ class DockerExecutor(RemoteExecutor):
# Determine the docker image to use for the databases
try:
databases_environment = self.host.db2docker(database_paths.keys())
except:
except Exception:
raise RuntimeError(
"No environment found for the databases `%s' "
"- available environments are %s"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment