svn commit: r242180 - user/crees/rclint
Chris Rees
crees at FreeBSD.org
Sat Oct 27 16:44:42 UTC 2012
Author: crees (ports committer)
Date: Sat Oct 27 16:44:41 2012
New Revision: 242180
URL: http://svn.freebsd.org/changeset/base/242180
Log:
Fix python3 failure
Noticed by: demon
Modified:
user/crees/rclint/rclint.py
Modified: user/crees/rclint/rclint.py
==============================================================================
--- user/crees/rclint/rclint.py Sat Oct 27 16:07:38 2012 (r242179)
+++ user/crees/rclint/rclint.py Sat Oct 27 16:44:41 2012 (r242180)
@@ -429,7 +429,7 @@ parser.add_argument('-p', action='store_
args = parser.parse_args()
mode = 'base' if args.b else 'ports'
-verbosity = args.v
+verbosity = args.v if args.v != None else 0
logging.basicConfig(level=logging.DEBUG if verbosity > 1 else logging.WARN)
error = Db('errors', args.language[0])
More information about the svn-src-user
mailing list