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
22bcd3d110
commit
ae94fb61d9
1 changed files with 1 additions and 1 deletions
|
@ -1042,5 +1042,5 @@ def owner(*paths):
|
|||
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