outs/deps: remove type-specific SCHEMAs

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-06-04 22:28:14 +03:00
parent f3b2497fb9
commit fbfdecd1de
2 changed files with 0 additions and 8 deletions
-5
View File
@@ -19,11 +19,6 @@ class DependencyLOCAL(DependencyBase):
DoesNotExistError = DependencyDoesNotExistError
IsNotFileOrDirError = DependencyIsNotFileOrDirError
SCHEMA = {
PARAM_PATH: str,
schema.Optional(PARAM_MD5): schema.Or(str, None),
}
def __init__(self, stage, path, md5=None):
self.stage = stage
self.project = stage.project
-3
View File
@@ -16,9 +16,6 @@ class OutputLOCAL(DependencyLOCAL):
DoesNotExistError = OutputDoesNotExistError
IsNotFileOrDirError = OutputIsNotFileOrDirError
SCHEMA = DependencyLOCAL.SCHEMA
SCHEMA[schema.Optional(PARAM_CACHE)] = bool
def __init__(self, stage, path, md5=None, use_cache=True):
super(OutputLOCAL, self).__init__(stage, path, md5=md5)
self.use_cache = use_cache