Replace map with list comprehension
svn: r10850
This commit is contained in:
parent
587e367836
commit
9d0a699e4f
@ -109,7 +109,7 @@ class Test2(U.TestCase):
|
||||
class Test3(U.TestCase):
|
||||
here = tu.absdir()
|
||||
bases = (here, tempfile.gettempdir())
|
||||
asubs = map(lambda b: os.path.join(b,"test_sub"), bases)
|
||||
asubs = [os.path.join(b,"test_sub") for b in bases]
|
||||
home= os.environ["HOME"]
|
||||
if home:
|
||||
home_junk = os.path.join(home,"test_junk")
|
||||
|
Loading…
Reference in New Issue
Block a user