Merge pull request #45664 from rallytime/bp-45452

Back-port #45452 to 2017.7.3
This commit is contained in:
Erik Johnson 2018-01-24 09:33:12 -06:00 committed by GitHub
commit 0717f7a578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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