From d25fec6309f17cbce39c4e56d1ada5d8fc0f1862 Mon Sep 17 00:00:00 2001 From: Anders Waldenborg Date: Wed, 23 Apr 2014 19:17:42 +0000 Subject: [PATCH] llvm-build: Get rid of 'import *' This allows pyflakes catching more errors in the script. Differential Revision: http://reviews.llvm.org/D3334 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207012 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/llvm-build/llvmbuild/componentinfo.py | 2 +- utils/llvm-build/llvmbuild/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/llvm-build/llvmbuild/componentinfo.py b/utils/llvm-build/llvmbuild/componentinfo.py index eda3a48811d..b384acd190f 100644 --- a/utils/llvm-build/llvmbuild/componentinfo.py +++ b/utils/llvm-build/llvmbuild/componentinfo.py @@ -9,7 +9,7 @@ except: import ConfigParser as configparser import sys -from llvmbuild.util import * +from llvmbuild.util import fatal, warning class ParseError(Exception): pass diff --git a/utils/llvm-build/llvmbuild/main.py b/utils/llvm-build/llvmbuild/main.py index 58af547f52c..37aa5d84cee 100644 --- a/utils/llvm-build/llvmbuild/main.py +++ b/utils/llvm-build/llvmbuild/main.py @@ -5,7 +5,7 @@ import sys import llvmbuild.componentinfo as componentinfo import llvmbuild.configutil as configutil -from llvmbuild.util import * +from llvmbuild.util import fatal, note ###