| Index: third_party/logilab/common/ureports/nodes.py
|
| diff --git a/third_party/logilab/common/ureports/nodes.py b/third_party/logilab/common/ureports/nodes.py
|
| index a9585b30d2103c0b6616d7349a09e69858a14144..d63b58284cd8b3d9dae38ff58ce7bdf9c2510409 100644
|
| --- a/third_party/logilab/common/ureports/nodes.py
|
| +++ b/third_party/logilab/common/ureports/nodes.py
|
| @@ -23,8 +23,6 @@ __docformat__ = "restructuredtext en"
|
|
|
| from logilab.common.tree import VNode
|
|
|
| -from six import string_types
|
| -
|
| class BaseComponent(VNode):
|
| """base report component
|
|
|
| @@ -81,7 +79,7 @@ class Text(BaseComponent):
|
| super(Text, self).__init__(**kwargs)
|
| #if isinstance(data, unicode):
|
| # data = data.encode('ascii')
|
| - assert isinstance(data, string_types), data.__class__
|
| + assert isinstance(data, (str, unicode)), data.__class__
|
| self.escaped = escaped
|
| self.data = data
|
|
|
|
|