mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
opkg.py: make owner function return value, instead of iterator
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
This commit is contained in:
parent
7934372b7b
commit
369720677b
@ -1284,5 +1284,5 @@ def owner(*paths, **kwargs): # pylint: disable=unused-argument
|
||||
else:
|
||||
ret[path] = ''
|
||||
if len(ret) == 1:
|
||||
return six.itervalues(ret)
|
||||
return next(six.itervalues(ret))
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user