File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -177,17 +177,14 @@ class LLSDXMLPrettyFormatter(LLSDXMLFormatter):
177177 This class is not necessarily suited for serializing very large objects.
178178 It sorts on dict (llsd map) keys alphabetically to ease human reading.
179179 """
180- def __init__ (self , indent_atom = None ):
180+ def __init__ (self , indent_atom = b' ' ):
181181 "Construct a pretty serializer."
182182 # Call the super class constructor so that we have the type map
183183 super (LLSDXMLPrettyFormatter , self ).__init__ ()
184184
185185 # Private data used for indentation.
186186 self ._indent_level = 1
187- if indent_atom is None :
188- self ._indent_atom = b' '
189- else :
190- self ._indent_atom = indent_atom
187+ self ._indent_atom = indent_atom
191188 self ._eol = b'\n '
192189
193190 def _indent (self ):
You can’t perform that action at this time.
0 commit comments