GitHub PullRequestReviewCommentEvent at 2014-03-21 15:56:46
Repository: nikola
Actor: ralsina
Payload: {"comment":{"url":"https://api.github.com/repos/getnikola/nikola/pulls/comments/10841686","id":10841686,"diff_hunk":"@@ -151,13 +198,114 @@ def create_empty_site(cls, target):\n     def get_path_to_nikola_modules():\n         return os.path.dirname(nikola.__file__)\n \n+    @staticmethod\n+    def ask_questions(target):\n+        \"\"\"Ask some questions about Nikola.\"\"\"\n+        def ask(query, default):\n+            \"\"\"Ask a question.\"\"\"\n+            if default:\n+                default_q = ' [{0}]'.format(default)\n+            else:\n+                default_q = ''\n+            # Stolen from new_post.\n+            print(\"{query}{default_q}: \".format(query=query, default_q=default_q), end='')\n+            # WHY, PYTHON3???? WHY?\n+            sys.stdout.flush()\n+            inp = sys.stdin.readline().strip()","path":"nikola/plugins/command/init.py","position":218,"original_position":161,"commit_id":"09891fad7bf8808d72436b45396a83b7c4e3ef58","original_commit_id":"55ca217d0b0a53a8526ed1fba2b3f167f9886e4d","user":{"login":"ralsina","id":1579,"avatar_url":"https://avatars.githubusercontent.com/u/1579?","gravatar_id":"b1ff2afbfbfe88037c59978bc4c102a6","url":"https://api.github.com/users/ralsina","html_url":"https://github.com/ralsina","followers_url":"https://api.github.com/users/ralsina/followers","following_url":"https://api.github.com/users/ralsina/following{/other_user}","gists_url":"https://api.github.com/users/ralsina/gists{/gist_id}","starred_url":"https://api.github.com/users/ralsina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralsina/subscriptions","organizations_url":"https://api.github.com/users/ralsina/orgs","repos_url":"https://api.github.com/users/ralsina/repos","events_url":"https://api.github.com/users/ralsina/events{/privacy}","received_events_url":"https://api.github.com/users/ralsina/received_events","type":"User","site_admin":false},"body":"I don't remember. I must have had a reason.","created_at":"2014-03-21T15:56:46Z","updated_at":"2014-03-21T15:56:46Z","html_url":"https://github.com/getnikola/nikola/pull/1128#discussion_r10841686","pull_request_url":"https://api.github.com/repos/getnikola/nikola/pulls/1128","_links":{"self":{"href":"https://api.github.com/repos/getnikola/nikola/pulls/comments/10841686"},"html":{"href":"https://github.com/getnikola/nikola/pull/1128#discussion_r10841686"},"pull_request":{"href":"https://api.github.com/repos/getnikola/nikola/pulls/1128"}}}}