d'oh.
This commit is contained in:
parent
69dadba825
commit
d551aeab24
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user