{"action":"created","comment":{"url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/comments/42512373","id":42512373,"diff_hunk":"@@ -157,12 +177,13 @@ def check_tender(tender, db):\n         quick = os.environ.get('SANDBOX_MODE', False) and u'quick' in tender.get('submissionMethodDetails', '')\n         while not planned:\n             try:\n-                auctionPeriod = planning_auction(tender, tenderPeriodEnd, db, quick)\n+                auctionPeriod, stream, skip_days = planning_auction(tender, tenderPeriodEnd, db, quick)\n                 planned = True\n             except ResourceConflict:\n                 planned = False\n         auctionPeriod = randomize(auctionPeriod).isoformat()\n-        LOG.info('Planned auction for tender {} to {}'.format(tender['id'], auctionPeriod))\n+        days = skipped_days(skip_days)","path":"openprocurement/chronograph/scheduler.py","position":80,"original_position":80,"commit_id":"ced123d7a331c895a4c0e4ab278d18436eda954c","original_commit_id":"ced123d7a331c895a4c0e4ab278d18436eda954c","user":{"login":"kroman0","id":904994,"avatar_url":"https://avatars.githubusercontent.com/u/904994?v=3","gravatar_id":"","url":"https://api.github.com/users/kroman0","html_url":"https://github.com/kroman0","followers_url":"https://api.github.com/users/kroman0/followers","following_url":"https://api.github.com/users/kroman0/following{/other_user}","gists_url":"https://api.github.com/users/kroman0/gists{/gist_id}","starred_url":"https://api.github.com/users/kroman0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroman0/subscriptions","organizations_url":"https://api.github.com/users/kroman0/orgs","repos_url":"https://api.github.com/users/kroman0/repos","events_url":"https://api.github.com/users/kroman0/events{/privacy}","received_events_url":"https://api.github.com/users/kroman0/received_events","type":"User","site_admin":false},"body":"можливо краще пропущен дні рахувати: (auctionPeriod - tenderPeriodEnd).days","created_at":"2015-10-20T15:39:05Z","updated_at":"2015-10-20T15:39:05Z","html_url":"https://github.com/openprocurement/openprocurement.chronograph/pull/4#discussion_r42512373","pull_request_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/comments/42512373"},"html":{"href":"https://github.com/openprocurement/openprocurement.chronograph/pull/4#discussion_r42512373"},"pull_request":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4","id":46394592,"html_url":"https://github.com/openprocurement/openprocurement.chronograph/pull/4","diff_url":"https://github.com/openprocurement/openprocurement.chronograph/pull/4.diff","patch_url":"https://github.com/openprocurement/openprocurement.chronograph/pull/4.patch","issue_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues/4","number":4,"state":"open","locked":false,"title":"Planned auction for tender","user":{"login":"Leits","id":12017826,"avatar_url":"https://avatars.githubusercontent.com/u/12017826?v=3","gravatar_id":"","url":"https://api.github.com/users/Leits","html_url":"https://github.com/Leits","followers_url":"https://api.github.com/users/Leits/followers","following_url":"https://api.github.com/users/Leits/following{/other_user}","gists_url":"https://api.github.com/users/Leits/gists{/gist_id}","starred_url":"https://api.github.com/users/Leits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leits/subscriptions","organizations_url":"https://api.github.com/users/Leits/orgs","repos_url":"https://api.github.com/users/Leits/repos","events_url":"https://api.github.com/users/Leits/events{/privacy}","received_events_url":"https://api.github.com/users/Leits/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-30T12:22:43Z","updated_at":"2015-10-20T15:39:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15a1976ee6f3312e3393271ed72f33289cc898b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4/commits","review_comments_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4/comments","review_comment_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues/4/comments","statuses_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/statuses/ced123d7a331c895a4c0e4ab278d18436eda954c","head":{"label":"Leits:master","ref":"master","sha":"ced123d7a331c895a4c0e4ab278d18436eda954c","user":{"login":"Leits","id":12017826,"avatar_url":"https://avatars.githubusercontent.com/u/12017826?v=3","gravatar_id":"","url":"https://api.github.com/users/Leits","html_url":"https://github.com/Leits","followers_url":"https://api.github.com/users/Leits/followers","following_url":"https://api.github.com/users/Leits/following{/other_user}","gists_url":"https://api.github.com/users/Leits/gists{/gist_id}","starred_url":"https://api.github.com/users/Leits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leits/subscriptions","organizations_url":"https://api.github.com/users/Leits/orgs","repos_url":"https://api.github.com/users/Leits/repos","events_url":"https://api.github.com/users/Leits/events{/privacy}","received_events_url":"https://api.github.com/users/Leits/received_events","type":"User","site_admin":false},"repo":{"id":43431237,"name":"openprocurement.chronograph","full_name":"Leits/openprocurement.chronograph","owner":{"login":"Leits","id":12017826,"avatar_url":"https://avatars.githubusercontent.com/u/12017826?v=3","gravatar_id":"","url":"https://api.github.com/users/Leits","html_url":"https://github.com/Leits","followers_url":"https://api.github.com/users/Leits/followers","following_url":"https://api.github.com/users/Leits/following{/other_user}","gists_url":"https://api.github.com/users/Leits/gists{/gist_id}","starred_url":"https://api.github.com/users/Leits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leits/subscriptions","organizations_url":"https://api.github.com/users/Leits/orgs","repos_url":"https://api.github.com/users/Leits/repos","events_url":"https://api.github.com/users/Leits/events{/privacy}","received_events_url":"https://api.github.com/users/Leits/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Leits/openprocurement.chronograph","description":"","fork":true,"url":"https://api.github.com/repos/Leits/openprocurement.chronograph","forks_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/forks","keys_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/teams","hooks_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/hooks","issue_events_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/issues/events{/number}","events_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/events","assignees_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/assignees{/user}","branches_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/branches{/branch}","tags_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/tags","blobs_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/statuses/{sha}","languages_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/languages","stargazers_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/stargazers","contributors_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/contributors","subscribers_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/subscribers","subscription_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/subscription","commits_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/contents/{+path}","compare_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/merges","archive_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/downloads","issues_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/issues{/number}","pulls_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/pulls{/number}","milestones_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/milestones{/number}","notifications_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/labels{/name}","releases_url":"https://api.github.com/repos/Leits/openprocurement.chronograph/releases{/id}","created_at":"2015-09-30T12:20:32Z","updated_at":"2015-09-30T12:20:33Z","pushed_at":"2015-10-20T15:12:33Z","git_url":"git://github.com/Leits/openprocurement.chronograph.git","ssh_url":"git@github.com:Leits/openprocurement.chronograph.git","clone_url":"https://github.com/Leits/openprocurement.chronograph.git","svn_url":"https://github.com/Leits/openprocurement.chronograph","homepage":null,"size":262,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"openprocurement:master","ref":"master","sha":"450cb3b8a75a5471b8dca8322a2a3362628d8eca","user":{"login":"openprocurement","id":8692431,"avatar_url":"https://avatars.githubusercontent.com/u/8692431?v=3","gravatar_id":"","url":"https://api.github.com/users/openprocurement","html_url":"https://github.com/openprocurement","followers_url":"https://api.github.com/users/openprocurement/followers","following_url":"https://api.github.com/users/openprocurement/following{/other_user}","gists_url":"https://api.github.com/users/openprocurement/gists{/gist_id}","starred_url":"https://api.github.com/users/openprocurement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openprocurement/subscriptions","organizations_url":"https://api.github.com/users/openprocurement/orgs","repos_url":"https://api.github.com/users/openprocurement/repos","events_url":"https://api.github.com/users/openprocurement/events{/privacy}","received_events_url":"https://api.github.com/users/openprocurement/received_events","type":"Organization","site_admin":false},"repo":{"id":26272471,"name":"openprocurement.chronograph","full_name":"openprocurement/openprocurement.chronograph","owner":{"login":"openprocurement","id":8692431,"avatar_url":"https://avatars.githubusercontent.com/u/8692431?v=3","gravatar_id":"","url":"https://api.github.com/users/openprocurement","html_url":"https://github.com/openprocurement","followers_url":"https://api.github.com/users/openprocurement/followers","following_url":"https://api.github.com/users/openprocurement/following{/other_user}","gists_url":"https://api.github.com/users/openprocurement/gists{/gist_id}","starred_url":"https://api.github.com/users/openprocurement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openprocurement/subscriptions","organizations_url":"https://api.github.com/users/openprocurement/orgs","repos_url":"https://api.github.com/users/openprocurement/repos","events_url":"https://api.github.com/users/openprocurement/events{/privacy}","received_events_url":"https://api.github.com/users/openprocurement/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openprocurement/openprocurement.chronograph","description":"","fork":false,"url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph","forks_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/forks","keys_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/teams","hooks_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/hooks","issue_events_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues/events{/number}","events_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/events","assignees_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/assignees{/user}","branches_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/branches{/branch}","tags_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/tags","blobs_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/git/refs{/sha}","trees_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/statuses/{sha}","languages_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/languages","stargazers_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/stargazers","contributors_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/contributors","subscribers_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/subscribers","subscription_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/subscription","commits_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/commits{/sha}","git_commits_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/git/commits{/sha}","comments_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/comments{/number}","issue_comment_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues/comments{/number}","contents_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/contents/{+path}","compare_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/merges","archive_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/downloads","issues_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues{/number}","pulls_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls{/number}","milestones_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/milestones{/number}","notifications_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/labels{/name}","releases_url":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/releases{/id}","created_at":"2014-11-06T14:02:52Z","updated_at":"2015-08-04T21:25:34Z","pushed_at":"2015-10-20T15:12:33Z","git_url":"git://github.com/openprocurement/openprocurement.chronograph.git","ssh_url":"git@github.com:openprocurement/openprocurement.chronograph.git","clone_url":"https://github.com/openprocurement/openprocurement.chronograph.git","svn_url":"https://github.com/openprocurement/openprocurement.chronograph","homepage":null,"size":1134,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4"},"html":{"href":"https://github.com/openprocurement/openprocurement.chronograph/pull/4"},"issue":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues/4"},"comments":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/openprocurement/openprocurement.chronograph/statuses/ced123d7a331c895a4c0e4ab278d18436eda954c"}}}}