small fixes

http://reviews.llvm.org/D9600

Files:
  tools/scan-build2/libscanbuild/clang.py
  tools/scan-build2/libscanbuild/driver.py

Index: tools/scan-build2/libscanbuild/clang.py
===================================================================
--- tools/scan-build2/libscanbuild/clang.py
+++ tools/scan-build2/libscanbuild/clang.py
@@ -5,7 +5,7 @@
 # License. See LICENSE.TXT for details.
 """ This module is responsible for the Clang executable.
 
-Since Clang command line interface is so reach, but this project is using only
+Since Clang command line interface is so rich, but this project is using only
 a subset of that, it makes sense to create a function specific wrapper. """
 
 import subprocess
Index: tools/scan-build2/libscanbuild/driver.py
===================================================================
--- tools/scan-build2/libscanbuild/driver.py
+++ tools/scan-build2/libscanbuild/driver.py
@@ -122,7 +122,7 @@
         generator = (dict(cmd, **consts) for cmd in json.load(handle)
                      if not exclude(cmd['file']))
         # when verbose output requested execute sequentially
-        pool = multiprocessing.Pool(1 if 2 <= args.verbose else None)
+        pool = multiprocessing.Pool(1 if 2 < args.verbose else None)
         for current in pool.imap_unordered(run, generator):
             if current is not None:
                 # display error message from the static analyzer

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
Index: tools/scan-build2/libscanbuild/clang.py
===================================================================
--- tools/scan-build2/libscanbuild/clang.py
+++ tools/scan-build2/libscanbuild/clang.py
@@ -5,7 +5,7 @@
 # License. See LICENSE.TXT for details.
 """ This module is responsible for the Clang executable.
 
-Since Clang command line interface is so reach, but this project is using only
+Since Clang command line interface is so rich, but this project is using only
 a subset of that, it makes sense to create a function specific wrapper. """
 
 import subprocess
Index: tools/scan-build2/libscanbuild/driver.py
===================================================================
--- tools/scan-build2/libscanbuild/driver.py
+++ tools/scan-build2/libscanbuild/driver.py
@@ -122,7 +122,7 @@
         generator = (dict(cmd, **consts) for cmd in json.load(handle)
                      if not exclude(cmd['file']))
         # when verbose output requested execute sequentially
-        pool = multiprocessing.Pool(1 if 2 <= args.verbose else None)
+        pool = multiprocessing.Pool(1 if 2 < args.verbose else None)
         for current in pool.imap_unordered(run, generator):
             if current is not None:
                 # display error message from the static analyzer
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to