svn commit: r241981 - user/crees/rclint
Eitan Adler
eadler at FreeBSD.org
Wed Oct 24 02:32:07 UTC 2012
Author: eadler
Date: Wed Oct 24 02:32:06 2012
New Revision: 241981
URL: http://svn.freebsd.org/changeset/base/241981
Log:
Make this work with python 3
Modified:
user/crees/rclint/rclint.py
Modified: user/crees/rclint/rclint.py
==============================================================================
--- user/crees/rclint/rclint.py Wed Oct 24 02:21:39 2012 (r241980)
+++ user/crees/rclint/rclint.py Wed Oct 24 02:32:06 2012 (r241981)
@@ -70,9 +70,9 @@ class Db:
if level == 'warn':
logging.warn('[%d]: %s ' % (num+1, err))
if verbosity > 0:
- print(textwrap.fill(self.explanation(key),
+ print((textwrap.fill(self.explanation(key),
initial_indent='==> ',
- subsequent_indent=' '))
+ subsequent_indent=' ')))
else:
logging.error('No such error: %s' % key)
self.count += 1
More information about the svn-src-user
mailing list