import os

from configstore.exceptions import ConfigNotFoundException
SECRETS_PATH = '/run/secrets'


class DockerSecretBackend(object):

    def __init__(self, secrets_path=SECRETS_PATH):
        self.secrets_path = secrets_path

    def get_config(self, key):

        with open(os.path.join(self.secrets_path, key)) as fd:
            return fd.readline().strip()

@@ -8,67 +8,8 @@
 os%0A%0A
-from configstore.exceptions import ConfigNotFoundException%0A
 SECR

Remove unused import