Fixed an issue with linking process when `$LDSCRIPT` contains a space in path

This commit is contained in:
Ivan Kravets
2019-10-17 16:52:18 +03:00
parent 89843c0d65
commit 7bcfea13fb
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ class StrictListField(fields.List):
try:
return super(StrictListField, self)._deserialize(value, attr, data)
except ValidationError as exc:
exc.data = [item for item in exc.data if item is not None]
if exc.data:
exc.data = [item for item in exc.data if item is not None]
raise exc