From ba0f2a2ba1bdb1a3da3c5a0ad24ac64b82df1854 Mon Sep 17 00:00:00 2001 From: Nathaniel Kofalt <nathaniel@kofalt.com> Date: Fri, 11 Nov 2016 09:02:54 -0600 Subject: [PATCH] Resolve unused import --- api/handlers/resolvehandler.py | 1 - api/resolver.py | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/api/handlers/resolvehandler.py b/api/handlers/resolvehandler.py index a27cf793..b21796f4 100644 --- a/api/handlers/resolvehandler.py +++ b/api/handlers/resolvehandler.py @@ -3,7 +3,6 @@ API request handlers for the jobs module """ from .. import base -from .. import config from ..resolver import Resolver class ResolveHandler(base.RequestHandler): diff --git a/api/resolver.py b/api/resolver.py index 8a81108a..52a92dec 100644 --- a/api/resolver.py +++ b/api/resolver.py @@ -3,7 +3,6 @@ Resolve an ambiguous path through the data hierarchy. """ from . import config -from . import util class Node(object): @@ -68,9 +67,6 @@ def _get_docs(table, label, match): return results -class CollectionsLiteralNode(Node): - pass - class FileNode(Node): @staticmethod def get_children(parent): @@ -167,7 +163,7 @@ class Resolver(object): """ @staticmethod - def resolve(path, uid=None): + def resolve(path): if not isinstance(path, list): raise Exception("Path must be an array of strings") -- GitLab