{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/32438","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/32438/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/32438/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/32438/events","html_url":"https://github.com/saltstack/salt/pull/32438","id":146957107,"number":32438,"title":"Add missing import for reload() on Python3","user":{"login":"eradman","id":1175398,"avatar_url":"https://avatars.githubusercontent.com/u/1175398?v=3","gravatar_id":"","url":"https://api.github.com/users/eradman","html_url":"https://github.com/eradman","followers_url":"https://api.github.com/users/eradman/followers","following_url":"https://api.github.com/users/eradman/following{/other_user}","gists_url":"https://api.github.com/users/eradman/gists{/gist_id}","starred_url":"https://api.github.com/users/eradman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eradman/subscriptions","organizations_url":"https://api.github.com/users/eradman/orgs","repos_url":"https://api.github.com/users/eradman/repos","events_url":"https://api.github.com/users/eradman/events{/privacy}","received_events_url":"https://api.github.com/users/eradman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T15:17:18Z","updated_at":"2016-04-08T16:52:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/32438","html_url":"https://github.com/saltstack/salt/pull/32438","diff_url":"https://github.com/saltstack/salt/pull/32438.diff","patch_url":"https://github.com/saltstack/salt/pull/32438.patch"},"body":"### What does this PR do?\r\n\r\nEliminates a fatal exception (NameError) in Python 3 because of missing import\r\n\r\n### What issues does this PR fix or reference?\r\n\r\n### Previous Behavior\r\n\r\nNameError: name 'reload' is not defined\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/207511753","html_url":"https://github.com/saltstack/salt/pull/32438#issuecomment-207511753","issue_url":"https://api.github.com/repos/saltstack/salt/issues/32438","id":207511753,"user":{"login":"eradman","id":1175398,"avatar_url":"https://avatars.githubusercontent.com/u/1175398?v=3","gravatar_id":"","url":"https://api.github.com/users/eradman","html_url":"https://github.com/eradman","followers_url":"https://api.github.com/users/eradman/followers","following_url":"https://api.github.com/users/eradman/following{/other_user}","gists_url":"https://api.github.com/users/eradman/gists{/gist_id}","starred_url":"https://api.github.com/users/eradman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eradman/subscriptions","organizations_url":"https://api.github.com/users/eradman/orgs","repos_url":"https://api.github.com/users/eradman/repos","events_url":"https://api.github.com/users/eradman/events{/privacy}","received_events_url":"https://api.github.com/users/eradman/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T16:52:45Z","updated_at":"2016-04-08T16:52:45Z","body":"Seems to do the right thing\r\n\r\n2.7:\r\n\r\n    >>> six.moves.reload_module(os)\r\n    <module 'os' from '/tmp/saltenv/lib/python2.7/os.pyc'>\r\n\r\n3.4:\r\n\r\n    >>> six.moves.reload_module(os)\r\n    <module 'os' from '/tmp/saltenv3/lib/python3.4/os.py'>\r\n\r\nI'll make this change"}}