{"comment":{"url":"https://api.github.com/repos/lmr/avocado/comments/14650387","html_url":"https://github.com/lmr/avocado/commit/4a036c73848dc7ba379785e52a6310f62c47a75d#commitcomment-14650387","id":14650387,"user":{"login":"ldoktor","id":1074021,"avatar_url":"https://avatars.githubusercontent.com/u/1074021?v=3","gravatar_id":"","url":"https://api.github.com/users/ldoktor","html_url":"https://github.com/ldoktor","followers_url":"https://api.github.com/users/ldoktor/followers","following_url":"https://api.github.com/users/ldoktor/following{/other_user}","gists_url":"https://api.github.com/users/ldoktor/gists{/gist_id}","starred_url":"https://api.github.com/users/ldoktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldoktor/subscriptions","organizations_url":"https://api.github.com/users/ldoktor/orgs","repos_url":"https://api.github.com/users/ldoktor/repos","events_url":"https://api.github.com/users/ldoktor/events{/privacy}","received_events_url":"https://api.github.com/users/ldoktor/received_events","type":"User","site_admin":false},"position":10,"line":68,"path":"avocado/utils/software_manager.py","commit_id":"4a036c73848dc7ba379785e52a6310f62c47a75d","created_at":"2015-11-27T08:22:43Z","updated_at":"2015-11-27T08:22:43Z","body":"(actually caching only the `sudo` path is needed:\r\n\r\n```\r\nif os.getuid():\r\n    sudo = utils_path.find_command(\"sudo\")\r\nelse:\r\n    sudo = False\r\n```"}}