From: Daniel Dunbar Date: Wed, 7 Aug 2013 23:10:20 +0000 (+0000) Subject: [lit] Remove unnecessary list copy. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=6104a4e4cc614f5ddbde0e79c156801e21b8d0df;p=oota-llvm.git [lit] Remove unnecessary list copy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187934 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/lit/LitConfig.py b/utils/lit/lit/LitConfig.py index 9a5ff9973ce..fda1b7bf98e 100644 --- a/utils/lit/lit/LitConfig.py +++ b/utils/lit/lit/LitConfig.py @@ -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)