GitHub PullRequestReviewCommentEvent at 2014-01-19 18:35:50
Repository: astropy
Actor: astrofrog
Payload: {"comment":{"url":"https://api.github.com/repos/astropy/astropy/pulls/comments/8993354","id":8993354,"diff_hunk":"@@ -0,0 +1,39 @@\n+# Licensed under a 3-clause BSD style license - see LICENSE.rst\n+\"\"\"Defines constants used in `astropy.vo.samp`.\"\"\"\n+\n+import os\n+\n+DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')\n+\n+__all__ = ['SAMP_STATUS_OK', 'SAMP_STATUS_WARNING', 'SAMP_STATUS_ERROR',\n+           'SAMP_HUB_SINGLE_INSTANCE', 'SAMP_HUB_MULTIPLE_INSTANCE',\n+           'SAMP_RESTRICT_GROUP', 'SAMP_RESTRICT_OWNER',\n+           'SAFE_MTYPES', 'SAMP_ICON']\n+\n+__profile_version__ = \"1.3\"\n+\n+#: General constant for samp.ok status string\n+SAMP_STATUS_OK = \"samp.ok\"\n+#: General constant for samp.warning status string\n+SAMP_STATUS_WARNING = \"samp.warning\"\n+#: General constant for samp.error status string\n+SAMP_STATUS_ERROR = \"samp.error\"\n+\n+#: General constant to specify single instance Hub running mode\n+SAMP_HUB_SINGLE_INSTANCE = \"single\"\n+#: General constant to specify multiple instance Hub running mode\n+SAMP_HUB_MULTIPLE_INSTANCE = \"multiple\"\n+\n+#: General constant to specify the access restriction (through Basic Authentication) to the GROUP\n+SAMP_RESTRICT_GROUP = \"GROUP\"\n+#: General constant to specify the access restriction (through Basic Authentication) to the OWNER\n+SAMP_RESTRICT_OWNER = \"OWNER\"\n+\n+SAFE_MTYPES = [\"samp.app.*\", \"samp.msg.progress\", \"table.*\", \"image.*\",\n+               \"coord.*\", \"spectrum.*\", \"bibcode.*\", \"voresource.*\"]\n+\n+with open(os.path.join(DATA_DIR, 'astropy_icon.png'), 'rb') as f:","path":"astropy/vo/samp/constants.py","position":null,"original_position":35,"commit_id":"2bf4b8cd419cc0f97d9f7c74701e29108fe41dce","original_commit_id":"5e07c64a624fc46a8dda5e80d06a13c19e58b193","user":{"login":"astrofrog","id":314716,"avatar_url":"https://gravatar.com/avatar/f586e2a9879fe0a55fd1e3ea529c664f?d=https%3A%2F%2Fidenticons.github.com%2Fcd67091624d794840b328627bddbba7b.png&r=x","gravatar_id":"f586e2a9879fe0a55fd1e3ea529c664f","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2014-01-19T18:35:50Z","updated_at":"2014-01-19T18:35:50Z","html_url":"https://github.com/astropy/astropy/pull/1907#discussion_r8993354","pull_request_url":"https://api.github.com/repos/astropy/astropy/pulls/1907","_links":{"self":{"href":"https://api.github.com/repos/astropy/astropy/pulls/comments/8993354"},"html":{"href":"https://github.com/astropy/astropy/pull/1907#discussion_r8993354"},"pull_request":{"href":"https://api.github.com/repos/astropy/astropy/pulls/1907"}}}}