)]}'
{"id":"openstack%2Fbandit~166301","triplet_id":"openstack%2Fbandit~master~I6aa7814f073d012029bda7783fa73746a56c2f5e","project":"openstack/bandit","branch":"master","topic":"bug/1434283","hashtags":[],"change_id":"I6aa7814f073d012029bda7783fa73746a56c2f5e","subject":"Fixed -n flag processing","status":"MERGED","created":"2015-03-20 16:19:12.000000000","updated":"2015-03-23 12:17:46.000000000","submitted":"2015-03-23 12:17:45.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"282f5d53eaf6bd11d66ddcea26aec5138ebbb0c5","_number":166301,"virtual_id_number":166301,"owner":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2015-03-23 12:17:45.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},{"value":0,"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2015-03-23 12:10:39.000000000","_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},{"value":2,"date":"2015-03-23 12:15:04.000000000","_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},{"value":1,"date":"2015-03-23 12:15:04.000000000","_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2015-03-23 12:10:39.000000000","updated_by":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"reviewer":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"state":"REVIEWER"},{"updated":"2015-03-23 12:15:04.000000000","updated_by":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"reviewer":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"state":"REVIEWER"},{"updated":"2015-03-23 12:17:45.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"26d947a70f1ad1337a8801127255c960152ae861","author":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"date":"2015-03-20 16:19:12.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e88877687bc6e4c885fd71bb5a58fa6211154e8b","author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"date":"2015-03-20 16:35:33.000000000","message":"Patch Set 1:\n\n(2 comments)\n\nOne possibly non-issue-nit","accounts_in_message":[],"_revision_number":1},{"id":"a4fbae7fadfc94e75554a4c7a4efd539805988f9","author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"date":"2015-03-20 16:40:35.000000000","message":"Patch Set 1: Code-Review+2\n\nCool improvement","accounts_in_message":[],"_revision_number":1},{"id":"3b3990c1aa563b0c37a66690d789e05fa05f50a9","author":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"date":"2015-03-20 17:28:59.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"4dbb44670dcf14600ade7f3556ee7316138beb51","author":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"date":"2015-03-20 17:34:39.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"0b109b6cdd4b59432360ca7372a7261ab7a6fdcc","author":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"date":"2015-03-20 18:21:28.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"3b4ea3f348aebd516680cbd541808c6e319993b3","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-03-20 20:18:35.000000000","message":"Patch Set 4: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-bandit-pep8 http://logs.openstack.org/01/166301/4/check/gate-bandit-pep8/289ae23/ : SUCCESS in 31s\n- gate-bandit-python27 http://logs.openstack.org/01/166301/4/check/gate-bandit-python27/f35fc02/ : SUCCESS in 35s","accounts_in_message":[],"_revision_number":4},{"id":"28283e13637c979833990104601a6b1beddf17f0","author":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"date":"2015-03-23 12:10:39.000000000","message":"Patch Set 4: Code-Review+2\n\ngood patch, thanks Dave","accounts_in_message":[],"_revision_number":4},{"id":"ed8f70c411b5668f2477ff6fe72c1c4c4b7e6adc","author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"date":"2015-03-23 12:15:04.000000000","message":"Patch Set 4: Code-Review+2 Workflow+1\n\nLooks good, passes all the tests, and adds back useful functionality to -n flag.  Multiline strings are hard to handle because we don\u0027t really know which line the thing you care about is on, so best we can do is kind of dump parts of the string.  \n\nThe worst that can happen is somebody shoots themselves in the foot with too restrictive of a context filter and then they either re-run or go dig up the code.","accounts_in_message":[],"_revision_number":4},{"id":"084c1114deb61292810515510a79207c717757b6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-03-23 12:15:06.000000000","message":"Patch Set 4: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":4},{"id":"26f3dd605c93ebeade758e5c10147c5d1d3fbb27","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-03-23 12:17:45.000000000","message":"Patch Set 4: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-bandit-pep8 http://logs.openstack.org/01/166301/4/gate/gate-bandit-pep8/dc56d8b/ : SUCCESS in 32s\n- gate-bandit-python27 http://logs.openstack.org/01/166301/4/gate/gate-bandit-python27/a19519c/ : SUCCESS in 30s","accounts_in_message":[],"_revision_number":4},{"id":"b17364c7e424423fef61a80ecd83317551128edd","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-03-23 12:17:46.000000000","message":"Change has been successfully merged into the git repository.","accounts_in_message":[],"_revision_number":4}],"current_revision_number":4,"current_revision":"41fd5946fafb3e4b9ebfc8e430f3f4d0f7f82a21","revisions":{"1197568594e2bd02cd34fbf63278347add9d5775":{"kind":"REWORK","_number":1,"created":"2015-03-20 16:19:12.000000000","uploader":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"ref":"refs/changes/01/166301/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/bandit","ref":"refs/changes/01/166301/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/bandit refs/changes/01/166301/1"}}},"commit":{"parents":[{"commit":"1214076c48cf3f60edb8bb0664e4406df19fb4fc","subject":"Fixed severity level filtering","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/1214076c48cf3f60edb8bb0664e4406df19fb4fc"}]}],"author":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 16:16:34.000000000","tz":0},"committer":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 16:18:27.000000000","tz":0},"subject":"Fixed -n flag processing","message":"Fixed -n flag processing\n\nUpdated -n processing. -n now specifies the maximum code lines\nto display for issues (in cases where statements cover many multiple\nlines). -n now correctly limits line output to the specified value.\nThe default behaviour is to display all lines. A value of 0 suppresses\nall code output.\n\nCloses-bug: #1434283\nChange-Id: I6aa7814f073d012029bda7783fa73746a56c2f5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/1197568594e2bd02cd34fbf63278347add9d5775"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/1197568594e2bd02cd34fbf63278347add9d5775"}]},"branch":"refs/heads/master"},"93a2eb1e1b71114a30d42a1752416a7653629ec9":{"kind":"REWORK","_number":2,"created":"2015-03-20 17:28:59.000000000","uploader":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"ref":"refs/changes/01/166301/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/bandit","ref":"refs/changes/01/166301/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/bandit refs/changes/01/166301/2"}}},"commit":{"parents":[{"commit":"1214076c48cf3f60edb8bb0664e4406df19fb4fc","subject":"Fixed severity level filtering","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/1214076c48cf3f60edb8bb0664e4406df19fb4fc"}]}],"author":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 16:16:34.000000000","tz":0},"committer":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 17:27:09.000000000","tz":0},"subject":"Fixed -n flag processing","message":"Fixed -n flag processing\n\nUpdated -n processing. -n now specifies the maximum code lines\nto display for issues (in cases where statements cover many multiple\nlines). -n now correctly limits line output to the specified value.\nThe default behaviour is to display all lines. A value of 0 suppresses\nall code output.\n\nCloses-bug: #1434283\nChange-Id: I6aa7814f073d012029bda7783fa73746a56c2f5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/93a2eb1e1b71114a30d42a1752416a7653629ec9"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/93a2eb1e1b71114a30d42a1752416a7653629ec9"}]},"branch":"refs/heads/master"},"52557ec79742b2e8f19c25a735176cd582734636":{"kind":"REWORK","_number":3,"created":"2015-03-20 17:34:39.000000000","uploader":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"ref":"refs/changes/01/166301/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/bandit","ref":"refs/changes/01/166301/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/bandit refs/changes/01/166301/3"}}},"commit":{"parents":[{"commit":"1214076c48cf3f60edb8bb0664e4406df19fb4fc","subject":"Fixed severity level filtering","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/1214076c48cf3f60edb8bb0664e4406df19fb4fc"}]}],"author":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 16:16:34.000000000","tz":0},"committer":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 17:32:23.000000000","tz":0},"subject":"Fixed -n flag processing","message":"Fixed -n flag processing\n\nUpdated -n processing. -n now specifies the maximum code lines\nto display for issues (in cases where statements cover many multiple\nlines). -n now correctly limits line output to the specified value.\nThe default behaviour is to display all lines. A value of 0 suppresses\nall code output.\n\nCloses-bug: #1434283\nChange-Id: I6aa7814f073d012029bda7783fa73746a56c2f5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/52557ec79742b2e8f19c25a735176cd582734636"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/52557ec79742b2e8f19c25a735176cd582734636"}]},"branch":"refs/heads/master"},"41fd5946fafb3e4b9ebfc8e430f3f4d0f7f82a21":{"kind":"TRIVIAL_REBASE","_number":4,"created":"2015-03-20 18:21:28.000000000","uploader":{"_account_id":15304,"name":"Dave Belcher","email":"dave.belcher@hp.com","username":"hpbelch"},"ref":"refs/changes/01/166301/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/bandit","ref":"refs/changes/01/166301/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/bandit refs/changes/01/166301/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/bandit refs/changes/01/166301/4"}}},"commit":{"parents":[{"commit":"6a4c1cc522849305b5967b161e17fda59ee8d1e2","subject":"Fix a couple of issues with handling multi-line strings","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/6a4c1cc522849305b5967b161e17fda59ee8d1e2"}]}],"author":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 16:16:34.000000000","tz":0},"committer":{"name":"Dave Belcher","email":"dave.belcher@hp.com","date":"2015-03-20 18:21:17.000000000","tz":0},"subject":"Fixed -n flag processing","message":"Fixed -n flag processing\n\nUpdated -n processing. -n now specifies the maximum code lines\nto display for issues (in cases where statements cover many multiple\nlines). -n now correctly limits line output to the specified value.\nThe default behaviour is to display all lines. A value of 0 suppresses\nall code output.\n\nCloses-bug: #1434283\nChange-Id: I6aa7814f073d012029bda7783fa73746a56c2f5e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/41fd5946fafb3e4b9ebfc8e430f3f4d0f7f82a21"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/bandit/commit/41fd5946fafb3e4b9ebfc8e430f3f4d0f7f82a21"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
