Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: third_party/logilab/common/ureports/text_writer.py

Issue 719313003: Revert "pylint: upgrade to 1.3.1" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/logilab/common/ureports/nodes.py ('k') | third_party/logilab/common/urllib2ext.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/logilab/common/ureports/text_writer.py
diff --git a/third_party/logilab/common/ureports/text_writer.py b/third_party/logilab/common/ureports/text_writer.py
index a25cf26c8f918f1e613cf9a58eeb5ee598cc01f8..04c8f263c9a96d36cc632fbc2417e158837d1842 100644
--- a/third_party/logilab/common/ureports/text_writer.py
+++ b/third_party/logilab/common/ureports/text_writer.py
@@ -16,13 +16,8 @@
# You should have received a copy of the GNU Lesser General Public License along
# with logilab-common. If not, see <http://www.gnu.org/licenses/>.
"""Text formatting drivers for ureports"""
-
-from __future__ import print_function
-
__docformat__ = "restructuredtext en"
-from six.moves import range
-
from logilab.common.textutils import linesep
from logilab.common.ureports import BaseWriter
@@ -59,7 +54,7 @@ class TextWriter(BaseWriter):
try:
self.writeln(TITLE_UNDERLINES[self.section] * len(title))
except IndexError:
- print("FIXME TITLE TOO DEEP. TURNING TITLE INTO TEXT")
+ print "FIXME TITLE TOO DEEP. TURNING TITLE INTO TEXT"
def visit_paragraph(self, layout):
"""enter a paragraph"""
« no previous file with comments | « third_party/logilab/common/ureports/nodes.py ('k') | third_party/logilab/common/urllib2ext.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698