diff options
Diffstat (limited to 'formats/simpleconfig.py')
-rw-r--r-- | formats/simpleconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formats/simpleconfig.py b/formats/simpleconfig.py index 57408a1..04df34b 100644 --- a/formats/simpleconfig.py +++ b/formats/simpleconfig.py @@ -45,7 +45,7 @@ class simpleconfig(SimpleFormat): BYTESTRING = SimpleFormat.BYTESTRING @SimpleFormat.producing(BYTESTRING) - def get_bytestring(self, protocol): + def get_bytestring(self, *protodecl): """Externalize 'struct', that is basically, pretty print it For example above, the result is something like: @@ -115,6 +115,6 @@ class simpleconfig(SimpleFormat): return ret @SimpleFormat.producing(STRUCT, protect=True) - def get_struct(self, protocol): + def get_struct(self, *protodecl): # TODO parsing struct from string raise NotImplementedError |