mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue