Date: Thu, 18 Apr 2013 18:11:30 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r249626 - user/crees/rclint Message-ID: <201304181811.r3IIBUPM054660@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees (ports committer) Date: Thu Apr 18 18:11:30 2013 New Revision: 249626 URL: http://svnweb.freebsd.org/changeset/base/249626 Log: Add _group to allowed clobbered variables Modified: user/crees/rclint/rclint.py Modified: user/crees/rclint/rclint.py ============================================================================== --- user/crees/rclint/rclint.py Thu Apr 18 17:07:04 2013 (r249625) +++ user/crees/rclint/rclint.py Thu Apr 18 18:11:30 2013 (r249626) @@ -270,7 +270,7 @@ def do_ports_checking(lineobj, filename) logging.debug('Checking for defaults clobbering blank values') for var in lineobj['Variable']: if var.type in ('longhand', 'shorthand'): - if var.name.split('_')[-1] not in ('enable', 'user') and var.clobber: + if var.name.split('_')[-1] not in ('enable', 'user', 'group') and var.clobber: error.give('variables_defaults_non_mandatory_colon', var.line) elif not var.clobber and var.name.split('_')[-1] in ('enable'): error.give('variables_defaults_mandatory_colon', var.line)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304181811.r3IIBUPM054660>