GitHub PullRequestReviewCommentEvent at 2014-04-16 17:04:18
Repository: read-only-certificate-code
Actor: singingwolfboy
Payload: {"comment":{"url":"https://api.github.com/repos/edx/read-only-certificate-code/pulls/comments/11694700","id":11694700,"diff_hunk":"@@ -393,18 +402,21 @@ def _generate_certificate(self, student_name, download_dir,\n         return (download_uuid, verify_uuid, download_url)\n \n         \"\"\"\n+        if self.template_version == 1:\n+            return self._generate_v1_certificate(student_name, download_dir, verify_dir, filename)\n \n         if self.template_version == 2:","path":"gen_cert.py","position":129,"original_position":129,"commit_id":"85e6d4785f3cadca4186d2fef5c25cffd606ff12","original_commit_id":"85e6d4785f3cadca4186d2fef5c25cffd606ff12","user":{"login":"singingwolfboy","id":132355,"avatar_url":"https://avatars.githubusercontent.com/u/132355?","gravatar_id":"42c77de97965d620ba0b6ae624c3ba7b","url":"https://api.github.com/users/singingwolfboy","html_url":"https://github.com/singingwolfboy","followers_url":"https://api.github.com/users/singingwolfboy/followers","following_url":"https://api.github.com/users/singingwolfboy/following{/other_user}","gists_url":"https://api.github.com/users/singingwolfboy/gists{/gist_id}","starred_url":"https://api.github.com/users/singingwolfboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singingwolfboy/subscriptions","organizations_url":"https://api.github.com/users/singingwolfboy/orgs","repos_url":"https://api.github.com/users/singingwolfboy/repos","events_url":"https://api.github.com/users/singingwolfboy/events{/privacy}","received_events_url":"https://api.github.com/users/singingwolfboy/received_events","type":"User","site_admin":false},"body":"Should this be `elif` rather than `if`?","created_at":"2014-04-16T17:04:18Z","updated_at":"2014-04-16T17:04:18Z","html_url":"https://github.com/edx/read-only-certificate-code/pull/1#discussion_r11694700","pull_request_url":"https://api.github.com/repos/edx/read-only-certificate-code/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/edx/read-only-certificate-code/pulls/comments/11694700"},"html":{"href":"https://github.com/edx/read-only-certificate-code/pull/1#discussion_r11694700"},"pull_request":{"href":"https://api.github.com/repos/edx/read-only-certificate-code/pulls/1"}}}}