svn commit: r246936 - user/crees/rclint

Eitan Adler eadler at FreeBSD.org
Mon Feb 18 04:33:45 UTC 2013


Author: eadler
Date: Mon Feb 18 04:33:45 2013
New Revision: 246936
URL: http://svnweb.freebsd.org/changeset/base/246936

Log:
  Fix likely typos

Modified:
  user/crees/rclint/rclint.py

Modified: user/crees/rclint/rclint.py
==============================================================================
--- user/crees/rclint/rclint.py	Mon Feb 18 04:20:43 2013	(r246935)
+++ user/crees/rclint/rclint.py	Mon Feb 18 04:33:45 2013	(r246936)
@@ -97,7 +97,7 @@ class Statement:
             self.type = types[spl[0]]
             self.value = ' '.join(spl[1:])
             while self.value[-1] == '\\':
-                self.value = ' '.join((self.value[:-1], lines[num+self.length]))
+                self.value = ' '.join((self.value[:-1], lines[number+self.length]))
                 self.length += 1
             self.line = number
         else:
@@ -455,7 +455,7 @@ def do_rclint(filename):
     if mode == 'ports':
         do_ports_checking(lineobj, filename)
     if mode == 'base':
-        do_base_checking(lineobj, filename)
+        do_src_checking(lineobj, filename)
 
 
 parser = argparse.ArgumentParser()


More information about the svn-src-user mailing list