{"action":"opened","number":2187,"pull_request":{"url":"https://api.github.com/repos/conda/conda/pulls/2187","id":61952410,"html_url":"https://github.com/conda/conda/pull/2187","diff_url":"https://github.com/conda/conda/pull/2187.diff","patch_url":"https://github.com/conda/conda/pull/2187.patch","issue_url":"https://api.github.com/repos/conda/conda/issues/2187","number":2187,"state":"open","locked":false,"title":"Fixed solver string format.","user":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"body":"If using old form string formatting, it is generally safer to put the thing you want formatting into a tuple:\r\n\r\n```\r\n>>> bar = (1, 2); print(\"foo %s\" % bar)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nTypeError: not all arguments converted during string formatting\r\n```\r\n\r\n```\r\nbar = (1, 2); print(\"foo %s\" % (bar, ))\r\nfoo (1, 2)\r\n```","created_at":"2016-03-07T17:41:08Z","updated_at":"2016-03-07T17:41:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda/pulls/2187/commits","review_comments_url":"https://api.github.com/repos/conda/conda/pulls/2187/comments","review_comment_url":"https://api.github.com/repos/conda/conda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda/conda/issues/2187/comments","statuses_url":"https://api.github.com/repos/conda/conda/statuses/bcfbc78082055d283ca7d35ff3967c82a0a3d06e","head":{"label":"pelson:fix_str_formatting","ref":"fix_str_formatting","sha":"bcfbc78082055d283ca7d35ff3967c82a0a3d06e","user":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"repo":{"id":22920768,"name":"conda","full_name":"pelson/conda","owner":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pelson/conda","description":"Cross-platform, Python-agnostic binary package manager","fork":true,"url":"https://api.github.com/repos/pelson/conda","forks_url":"https://api.github.com/repos/pelson/conda/forks","keys_url":"https://api.github.com/repos/pelson/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pelson/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pelson/conda/teams","hooks_url":"https://api.github.com/repos/pelson/conda/hooks","issue_events_url":"https://api.github.com/repos/pelson/conda/issues/events{/number}","events_url":"https://api.github.com/repos/pelson/conda/events","assignees_url":"https://api.github.com/repos/pelson/conda/assignees{/user}","branches_url":"https://api.github.com/repos/pelson/conda/branches{/branch}","tags_url":"https://api.github.com/repos/pelson/conda/tags","blobs_url":"https://api.github.com/repos/pelson/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pelson/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pelson/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/pelson/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pelson/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/pelson/conda/languages","stargazers_url":"https://api.github.com/repos/pelson/conda/stargazers","contributors_url":"https://api.github.com/repos/pelson/conda/contributors","subscribers_url":"https://api.github.com/repos/pelson/conda/subscribers","subscription_url":"https://api.github.com/repos/pelson/conda/subscription","commits_url":"https://api.github.com/repos/pelson/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/pelson/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/pelson/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/pelson/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/pelson/conda/contents/{+path}","compare_url":"https://api.github.com/repos/pelson/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pelson/conda/merges","archive_url":"https://api.github.com/repos/pelson/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pelson/conda/downloads","issues_url":"https://api.github.com/repos/pelson/conda/issues{/number}","pulls_url":"https://api.github.com/repos/pelson/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/pelson/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/pelson/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pelson/conda/labels{/name}","releases_url":"https://api.github.com/repos/pelson/conda/releases{/id}","deployments_url":"https://api.github.com/repos/pelson/conda/deployments","created_at":"2014-08-13T15:32:20Z","updated_at":"2014-08-10T19:49:54Z","pushed_at":"2016-03-07T17:38:24Z","git_url":"git://github.com/pelson/conda.git","ssh_url":"git@github.com:pelson/conda.git","clone_url":"https://github.com/pelson/conda.git","svn_url":"https://github.com/pelson/conda","homepage":"conda.pydata.org","size":6247,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"conda:master","ref":"master","sha":"a0f00fb0f22b75edc7c1498ac016136a54dffe29","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":6235174,"name":"conda","full_name":"conda/conda","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":false,"url":"https://api.github.com/repos/conda/conda","forks_url":"https://api.github.com/repos/conda/conda/forks","keys_url":"https://api.github.com/repos/conda/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda/teams","hooks_url":"https://api.github.com/repos/conda/conda/hooks","issue_events_url":"https://api.github.com/repos/conda/conda/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda/events","assignees_url":"https://api.github.com/repos/conda/conda/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda/tags","blobs_url":"https://api.github.com/repos/conda/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda/languages","stargazers_url":"https://api.github.com/repos/conda/conda/stargazers","contributors_url":"https://api.github.com/repos/conda/conda/contributors","subscribers_url":"https://api.github.com/repos/conda/conda/subscribers","subscription_url":"https://api.github.com/repos/conda/conda/subscription","commits_url":"https://api.github.com/repos/conda/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda/merges","archive_url":"https://api.github.com/repos/conda/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda/downloads","issues_url":"https://api.github.com/repos/conda/conda/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda/releases{/id}","deployments_url":"https://api.github.com/repos/conda/conda/deployments","created_at":"2012-10-15T22:08:03Z","updated_at":"2016-03-07T13:24:25Z","pushed_at":"2016-03-06T03:54:14Z","git_url":"git://github.com/conda/conda.git","ssh_url":"git@github.com:conda/conda.git","clone_url":"https://github.com/conda/conda.git","svn_url":"https://github.com/conda/conda","homepage":"conda.pydata.org","size":9006,"stargazers_count":656,"watchers_count":656,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":219,"mirror_url":null,"open_issues_count":807,"forks":219,"open_issues":807,"watchers":656,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/2187"},"html":{"href":"https://github.com/conda/conda/pull/2187"},"issue":{"href":"https://api.github.com/repos/conda/conda/issues/2187"},"comments":{"href":"https://api.github.com/repos/conda/conda/issues/2187/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda/pulls/2187/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda/conda/pulls/2187/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda/statuses/bcfbc78082055d283ca7d35ff3967c82a0a3d06e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}