{"action":"created","issue":{"url":"https://api.github.com/repos/chulderman/stellar-avarice/issues/12","repository_url":"https://api.github.com/repos/chulderman/stellar-avarice","labels_url":"https://api.github.com/repos/chulderman/stellar-avarice/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/chulderman/stellar-avarice/issues/12/comments","events_url":"https://api.github.com/repos/chulderman/stellar-avarice/issues/12/events","html_url":"https://github.com/chulderman/stellar-avarice/pull/12","id":153442798,"number":12,"title":"Chaining conditionals to avoid checking string value twice","user":{"login":"tcarrio","id":8659099,"avatar_url":"https://avatars.githubusercontent.com/u/8659099?v=3","gravatar_id":"","url":"https://api.github.com/users/tcarrio","html_url":"https://github.com/tcarrio","followers_url":"https://api.github.com/users/tcarrio/followers","following_url":"https://api.github.com/users/tcarrio/following{/other_user}","gists_url":"https://api.github.com/users/tcarrio/gists{/gist_id}","starred_url":"https://api.github.com/users/tcarrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcarrio/subscriptions","organizations_url":"https://api.github.com/users/tcarrio/orgs","repos_url":"https://api.github.com/users/tcarrio/repos","events_url":"https://api.github.com/users/tcarrio/events{/privacy}","received_events_url":"https://api.github.com/users/tcarrio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-06T12:42:34Z","updated_at":"2016-05-06T20:17:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chulderman/stellar-avarice/pulls/12","html_url":"https://github.com/chulderman/stellar-avarice/pull/12","diff_url":"https://github.com/chulderman/stellar-avarice/pull/12.diff","patch_url":"https://github.com/chulderman/stellar-avarice/pull/12.patch"},"body":"And removed breaks. Same logic and processes the string only once if `prompt.strip()=='public'`, since there's just no need to check the same variable to see if it equals some value if you've already determined it's something else. "},"comment":{"url":"https://api.github.com/repos/chulderman/stellar-avarice/issues/comments/217547551","html_url":"https://github.com/chulderman/stellar-avarice/pull/12#issuecomment-217547551","issue_url":"https://api.github.com/repos/chulderman/stellar-avarice/issues/12","id":217547551,"user":{"login":"tcarrio","id":8659099,"avatar_url":"https://avatars.githubusercontent.com/u/8659099?v=3","gravatar_id":"","url":"https://api.github.com/users/tcarrio","html_url":"https://github.com/tcarrio","followers_url":"https://api.github.com/users/tcarrio/followers","following_url":"https://api.github.com/users/tcarrio/following{/other_user}","gists_url":"https://api.github.com/users/tcarrio/gists{/gist_id}","starred_url":"https://api.github.com/users/tcarrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcarrio/subscriptions","organizations_url":"https://api.github.com/users/tcarrio/orgs","repos_url":"https://api.github.com/users/tcarrio/repos","events_url":"https://api.github.com/users/tcarrio/events{/privacy}","received_events_url":"https://api.github.com/users/tcarrio/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T20:17:01Z","updated_at":"2016-05-06T20:17:01Z","body":"So I don't know how that managed to happen. Oops. "}}