Skip to content
Snippets Groups Projects
Commit 7bfed5d8 authored by John Chilton's avatar John Chilton
Browse files

Remove unused method.

parent 44e3b611
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,6 @@ import fnmatch ...@@ -2,7 +2,6 @@ import fnmatch
import tempfile import tempfile
from contextlib import contextmanager from contextlib import contextmanager
from json import load
from os import makedirs from os import makedirs
from os import unlink from os import unlink
from os.path import ( from os.path import (
...@@ -204,10 +203,6 @@ class FileActionMapper(object): ...@@ -204,10 +203,6 @@ class FileActionMapper(object):
config[attr] = getattr(client, attr) config[attr] = getattr(client, attr)
return config return config
def __load_action_config(self, path):
config = load(open(path, 'rb'))
self.mappers = mappers_from_dicts(config.get('paths', []))
def __find_mapper(self, path, type, mapper=None): def __find_mapper(self, path, type, mapper=None):
if not mapper: if not mapper:
normalized_path = abspath(path) normalized_path = abspath(path)
......
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