Fix Skylark analyzer warning. (#81)

This commit is contained in:
Nathan Herring 2018-11-29 11:53:05 +01:00 committed by Laurent Le Brun
parent d9cd300c64
commit f4a2bae427
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ def _depset_to_list(val):
Args: Args:
val: The value to be optionally converted and returned. val: The value to be optionally converted and returned.
Returns:
The converted value.
""" """
if type(val) == _depset_type: if type(val) == _depset_type:
return val.to_list() return val.to_list()