diff options
Diffstat (limited to 'ureports')
-rw-r--r-- | ureports/__init__.py | 2 | ||||
-rw-r--r-- | ureports/text_writer.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ureports/__init__.py b/ureports/__init__.py index a09af91..96b5517 100644 --- a/ureports/__init__.py +++ b/ureports/__init__.py @@ -22,10 +22,10 @@ formatted as text and html from __future__ import generators import sys -from os import linesep from cStringIO import StringIO from StringIO import StringIO as UStringIO +from logilab.common.textutils import linesep def get_nodes(node, klass): """return an iterator on all children node of the given klass""" diff --git a/ureports/text_writer.py b/ureports/text_writer.py index f0a9617..f093f5f 100644 --- a/ureports/text_writer.py +++ b/ureports/text_writer.py @@ -15,11 +15,9 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """Text formatting drivers for ureports""" -__revision__ = "$Id: text_writer.py,v 1.9 2005-11-22 13:13:13 syt Exp $" - -from os import linesep from logilab.common.ureports import BaseWriter +from logilab.common.textutils import linesep TITLE_UNDERLINES = ['', '=', '-', '`', '.', '~', '^'] BULLETS = ['*', '-'] |