Show More
@@ -326,6 +326,8 b' def stringify(thing):' | |||||
326 | """ |
|
326 | """ | |
327 | if util.safehasattr(thing, '__iter__') and not isinstance(thing, str): |
|
327 | if util.safehasattr(thing, '__iter__') and not isinstance(thing, str): | |
328 | return "".join([stringify(t) for t in thing if t is not None]) |
|
328 | return "".join([stringify(t) for t in thing if t is not None]) | |
|
329 | if thing is None: | |||
|
330 | return "" | |||
329 | return str(thing) |
|
331 | return str(thing) | |
330 |
|
332 | |||
331 | def strip(text): |
|
333 | def strip(text): |
General Comments 0
You need to be logged in to leave comments.
Login now