llvm.org GIT mirror llvm / dd54853
[lit] Fix a Python 3 compatibility issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313580 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9696 # For paths, we should be able to take a list of them and process all
9797 # of them.
9898 paths_to_add = value
99 if isinstance(paths_to_add, basestring):
99 if lit.util.is_string(paths_to_add):
100100 paths_to_add = [paths_to_add]
101101
102102 def norm(x):