This commit is contained in:
brent s. 2020-03-27 09:10:47 -04:00
parent 69dadba825
commit d551aeab24
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -200,7 +200,7 @@ class LocalFile(Config):


class RemoteFile(Config): class RemoteFile(Config):
def __init__(self, uri, xsd_path = None, *args, **kwargs): def __init__(self, uri, xsd_path = None, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(xsd_path = xsd_path, *args, **kwargs)
self.type = 'remote' self.type = 'remote'
self.source = uri self.source = uri


@ -216,7 +216,7 @@ class RemoteFile(Config):


class ConfigStr(Config): class ConfigStr(Config):
def __init__(self, rawxml, xsd_path = None, *args, **kwargs): def __init__(self, rawxml, xsd_path = None, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(xsd_path = xsd_path, *args, **kwargs)
self.type = 'raw_str' self.type = 'raw_str'
self.source = rawxml self.source = rawxml


@ -228,7 +228,7 @@ class ConfigStr(Config):


class ConfigBin(Config): class ConfigBin(Config):
def __init__(self, rawbinaryxml, xsd_path = None, *args, **kwargs): def __init__(self, rawbinaryxml, xsd_path = None, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(xsd_path = xsd_path, *args, **kwargs)
self.type = 'raw_bin' self.type = 'raw_bin'
self.source = rawbinaryxml self.source = rawbinaryxml