[lit] Remove unnecessary list copy.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 7 Aug 2013 23:10:20 +0000 (23:10 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 7 Aug 2013 23:10:20 +0000 (23:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187934 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/LitConfig.py

index 9a5ff9973ce7bbfbedbeb17eeba98610b326b71d..fda1b7bf98e9fd6a1b4adea293565a1e5c4ec1cf 100644 (file)
@@ -32,7 +32,7 @@ class LitConfig:
         # The name of the test runner.
         self.progname = progname
         # The items to add to the PATH environment variable.
         # 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)
         self.quiet = bool(quiet)
         self.useValgrind = bool(useValgrind)
         self.valgrindLeakCheck = bool(valgrindLeakCheck)