{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/4782","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/4782/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4782/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/4782/events","html_url":"https://github.com/astropy/astropy/pull/4782","id":148431253,"number":4782,"title":"Bugfix for issue 4781","user":{"login":"al-niessner","id":1130658,"avatar_url":"https://avatars.githubusercontent.com/u/1130658?v=3","gravatar_id":"","url":"https://api.github.com/users/al-niessner","html_url":"https://github.com/al-niessner","followers_url":"https://api.github.com/users/al-niessner/followers","following_url":"https://api.github.com/users/al-niessner/following{/other_user}","gists_url":"https://api.github.com/users/al-niessner/gists{/gist_id}","starred_url":"https://api.github.com/users/al-niessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al-niessner/subscriptions","organizations_url":"https://api.github.com/users/al-niessner/orgs","repos_url":"https://api.github.com/users/al-niessner/repos","events_url":"https://api.github.com/users/al-niessner/events{/privacy}","received_events_url":"https://api.github.com/users/al-niessner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/io.votable","name":"io.votable","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/37","html_url":"https://github.com/astropy/astropy/milestones/v1.1.3","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/37/labels","id":1635681,"number":37,"title":"v1.1.3","description":"","creator":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":7,"state":"open","created_at":"2016-03-10T03:38:17Z","updated_at":"2016-04-15T15:50:41Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2016-04-14T17:29:25Z","updated_at":"2016-04-18T22:07:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/4782","html_url":"https://github.com/astropy/astropy/pull/4782","diff_url":"https://github.com/astropy/astropy/pull/4782.diff","patch_url":"https://github.com/astropy/astropy/pull/4782.patch"},"body":"Minor change to correct programmed failure. The first if statement checks to see if config is None and then sets it to an empty dictionary. The second conditional statement then references a non-existent key because it is an empty dictionary. Simply changed from two if statements to an ifel statement insuring that config should not be empty."},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/211600871","html_url":"https://github.com/astropy/astropy/pull/4782#issuecomment-211600871","issue_url":"https://api.github.com/repos/astropy/astropy/issues/4782","id":211600871,"user":{"login":"al-niessner","id":1130658,"avatar_url":"https://avatars.githubusercontent.com/u/1130658?v=3","gravatar_id":"","url":"https://api.github.com/users/al-niessner","html_url":"https://github.com/al-niessner","followers_url":"https://api.github.com/users/al-niessner/followers","following_url":"https://api.github.com/users/al-niessner/following{/other_user}","gists_url":"https://api.github.com/users/al-niessner/gists{/gist_id}","starred_url":"https://api.github.com/users/al-niessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/al-niessner/subscriptions","organizations_url":"https://api.github.com/users/al-niessner/orgs","repos_url":"https://api.github.com/users/al-niessner/repos","events_url":"https://api.github.com/users/al-niessner/events{/privacy}","received_events_url":"https://api.github.com/users/al-niessner/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T22:07:21Z","updated_at":"2016-04-18T22:07:21Z","body":"\nThanks. Enough info for me to fix all of my paths and get it working\nboth in python3 and setup.py test.\n\nOn Mon, 2016-04-18 at 11:58 -0700, Brigitta Sipocz wrote:\n> @al-niessner - Every test sessions have a \"header\", listing the\n> version numbers of both the tested package and its dependencies. Your\n> first scenario says:\n> \n> Running tests with Astropy version 1.0.3.\n> Running tests in /usr/local/lib/python3.4/dist-packages/astropy/io/votable.\n> \n> This means that you're testing an installed (and may I say not\n> up-to-date) version, and not the one you modified.\n> \n> Another trick: - For inserting long log outputs like the above, I find\n> it better to use gist (https://gist.github.com/), posting the link\n> only keeps a clearer overview of the PRs/issues.\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> \n> \n\n-- \nAl Niessner\n\nI have never found the companion that was so companionable as solitude.\n- From Walden by Henry David Thoreau\n\nThe universe is indifferent, and life is brutal; however, it is man's\nchoice of behavior that makes them malevolent rather than benevolent.\n\nSome will fall in love with life and drink it from a fountain\nThat is pouring like an avalanche coming down the mountain.\n- From the song Pepper by the Butthole Surfers\n\n\n"}}