summaryrefslogtreecommitdiff
path: root/ureports
diff options
context:
space:
mode:
authorSylvain <syt@logilab.fr>2008-05-16 18:37:08 +0200
committerSylvain <syt@logilab.fr>2008-05-16 18:37:08 +0200
commit20b0b9938e70910270ba8ae4c4370d1404d2b23b (patch)
treeb1a5637fa3d9ef0a97f5ef754f9a9b4fbec898e7 /ureports
parentfdfda1ab165bbbd9e1d5c84bfca0271b7ce442e7 (diff)
downloadlogilab-common-20b0b9938e70910270ba8ae4c4370d1404d2b23b.tar.gz
goa related fixes
Diffstat (limited to 'ureports')
-rw-r--r--ureports/__init__.py2
-rw-r--r--ureports/text_writer.py4
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 = ['*', '-']