Make generic displayer return data unmodified
This commit is contained in:
parent
1e8a3c3517
commit
be21a1ef4a
|
@ -1,5 +1,6 @@
|
||||||
class OutFormat:
|
class OutFormat:
|
||||||
def __init__(self, data):
|
def __init__(self, data):
|
||||||
|
self.data = data
|
||||||
self.spans = { }
|
self.spans = { }
|
||||||
self.rows = [ ]
|
self.rows = [ ]
|
||||||
|
|
||||||
|
@ -25,8 +26,7 @@ class OutFormat:
|
||||||
return str(field)
|
return str(field)
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
# FIXME: consider if this should do anything
|
return self.data
|
||||||
pass
|
|
||||||
|
|
||||||
class Basic(OutFormat):
|
class Basic(OutFormat):
|
||||||
def __init__(self, data):
|
def __init__(self, data):
|
||||||
|
|
Loading…
Reference in New Issue