OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af03e79
)
[lit] Fix a Python 3 compatibility issue.
author
Zachary Turner
<zturner@google.com>
Mon, 18 Sep 2017 22:30:45 +0000
(22:30 +0000)
committer
Zachary Turner
<zturner@google.com>
Mon, 18 Sep 2017 22:30:45 +0000
(22:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313580
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit/llvm/config.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/llvm/config.py
b/utils/lit/lit/llvm/config.py
index
1a2aea4
..
175aa69
100644
(file)
--- a/
utils/lit/lit/llvm/config.py
+++ b/
utils/lit/lit/llvm/config.py
@@
-97,7
+97,7
@@
class LLVMConfig(object):
# For paths, we should be able to take a list of them and process all
# of them.
paths_to_add = value
- if
isinstance(paths_to_add, basestring
):
+ if
lit.util.is_string(paths_to_add
):
paths_to_add = [paths_to_add]
def norm(x):