Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 16:44:41 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r242180 - user/crees/rclint
Message-ID:  <201210271644.q9RGifWQ015286@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210271644.q9RGifWQ015286>