Merge pull request #45663 from rallytime/bp-45452-2016.11

Back-port #45452 to 2016.11
This commit is contained in:
Erik Johnson 2018-01-24 09:32:51 -06:00 committed by GitHub
commit 915e259bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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