about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2015-05-29 12:36:02 -0400
committerTamir Duberstein <tamird@gmail.com>2015-07-06 08:40:40 -0400
commit155c8f9fa8d67badabd72bec16b9a9b3f49eb8a1 (patch)
treec468bcaf8c358a578e33fec60d8937002396ee42
parenta2b927c5a41ded169a0919ff8193b5357c850217 (diff)
downloadrust-155c8f9fa8d67badabd72bec16b9a9b3f49eb8a1.tar.gz
rust-155c8f9fa8d67badabd72bec16b9a9b3f49eb8a1.zip
Simplify
-rw-r--r--src/etc/mklldeps.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/etc/mklldeps.py b/src/etc/mklldeps.py
index 7a925fa3f33..d0f91ba683f 100644
--- a/src/etc/mklldeps.py
+++ b/src/etc/mklldeps.py
@@ -14,8 +14,7 @@ import subprocess
 
 f = open(sys.argv[1], 'wb')
 
-components = sys.argv[2].split(' ')
-components = [i for i in components if i]  # ignore extra whitespaces
+components = sys.argv[2].split() # splits on whitespace
 enable_static = sys.argv[3]
 llconfig = sys.argv[4]