[llvm] r187934 - [lit] Remove unnecessary list copy.
Daniel Dunbar
daniel at zuster.org
Wed Aug 7 16:10:20 PDT 2013
Author: ddunbar
Date: Wed Aug 7 18:10:20 2013
New Revision: 187934
URL: http://llvm.org/viewvc/llvm-project?rev=187934&view=rev
Log:
[lit] Remove unnecessary list copy.
Modified:
llvm/trunk/utils/lit/lit/LitConfig.py
Modified: llvm/trunk/utils/lit/lit/LitConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitConfig.py?rev=187934&r1=187933&r2=187934&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/LitConfig.py (original)
+++ llvm/trunk/utils/lit/lit/LitConfig.py Wed Aug 7 18:10:20 2013
@@ -32,7 +32,7 @@ class LitConfig:
# The name of the test runner.
self.progname = progname
# The items to add to the PATH environment variable.
- self.path = list([str(p) for p in path])
+ self.path = [str(p) for p in path]
self.quiet = bool(quiet)
self.useValgrind = bool(useValgrind)
self.valgrindLeakCheck = bool(valgrindLeakCheck)
More information about the llvm-commits
mailing list