svn commit: r249626 - user/crees/rclint

Chris Rees crees at FreeBSD.org
Thu Apr 18 18:11:31 UTC 2013


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)


More information about the svn-src-user mailing list