)]}'
{"id":"openstack%2Fpython-swiftclient~252328","triplet_id":"openstack%2Fpython-swiftclient~master~Ib19b05deef7a015881f1eed4a3946025e16bf922","project":"openstack/python-swiftclient","branch":"master","topic":"fix-args","hashtags":[],"change_id":"Ib19b05deef7a015881f1eed4a3946025e16bf922","subject":"Fix debug and info option parsing","status":"MERGED","created":"2015-12-02 10:56:35.000000000","updated":"2016-02-11 20:22:09.000000000","submitted":"2016-02-11 20:22:09.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":9,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"166dcdbe1eaafe3099180d81fb577fb5ba6dd340","_number":252328,"virtual_id_number":252328,"owner":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2016-02-11 20:22:09.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},{"value":0,"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},{"value":0,"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"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":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2016-02-11 14:24:40.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},{"value":0,"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},{"value":2,"date":"2016-02-11 18:59:27.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"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":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},{"value":0,"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},{"value":1,"date":"2016-02-11 18:59:27.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"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":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-02-11 14:24:40.000000000","updated_by":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"reviewer":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"state":"REVIEWER"},{"updated":"2016-02-11 18:59:27.000000000","updated_by":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"reviewer":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"state":"REVIEWER"},{"updated":"2016-02-11 20:22:09.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"c9cfc7f08c4f2a98f4d669ed495b68934578ec49","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 10:56:35.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"5f103e9708948751bbdb8f7ab533362bff699f7b","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 10:59:30.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"5c1ddf584d5192898f7f598636a40530794dbf22","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 11:02:54.000000000","message":"Patch Set 2:\n\nSo, there are two different ways to fix this - the one in patchset #1, and a different (simpler) one in patchset #2.\nI prefer the way in patchset #2, but ymmv.\n\nEventually it makes sense to use argparse instead of optparse, since the latter is deprecated anyways. However, that looks like a huge refactoring and might need some discussions in advance.","accounts_in_message":[],"_revision_number":2},{"id":"b22ba2399ca7f38d9bc375487ec1beed56f2de8b","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 11:15:29.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"b8dc622ee2e9e5210e3b84a30bae7f8b285b9e80","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 11:16:21.000000000","message":"Patch Set 3:\n\nPls ignore patchset #2, me failed to merge changes correctly. #3 is the way to go (imo).","accounts_in_message":[],"_revision_number":3},{"id":"c6020f50f5df8825777a39a7d54d41b1f4ff33d1","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-12-02 12:26:56.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-python26 http://logs.openstack.org/28/252328/3/check/gate-python-swiftclient-python26/eccc1a2/ : SUCCESS in 37s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/28/252328/3/check/gate-python-swiftclient-pep8/fa36a86/ : SUCCESS in 57s\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/28/252328/3/check/gate-python-swiftclient-docs/6401c4c//doc/build/html/ : SUCCESS in 1m 01s\n- gate-python-swiftclient-python27 http://logs.openstack.org/28/252328/3/check/gate-python-swiftclient-python27/eebc25b/ : SUCCESS in 2m 01s\n- gate-python-swiftclient-python34 http://logs.openstack.org/28/252328/3/check/gate-python-swiftclient-python34/771a711/ : SUCCESS in 1m 52s\n- gate-python-swiftclient-pypy http://logs.openstack.org/28/252328/3/check/gate-python-swiftclient-pypy/a9088ce/ : SUCCESS in 1m 29s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/28/252328/3/check/gate-tempest-dsvm-neutron-src-python-swiftclient/51b31ab/ : SUCCESS in 1h 08m 17s\n- gate-swift-dsvm-functional http://logs.openstack.org/28/252328/3/check/gate-swift-dsvm-functional/7af47b4/ : SUCCESS in 32m 43s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/28/252328/3/check/gate-swiftclient-dsvm-functional/0d8c106/ : SUCCESS in 22m 32s","accounts_in_message":[],"_revision_number":3},{"id":"381bcbabad7149c07df475967656219a3db817d7","author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"date":"2015-12-02 13:53:15.000000000","message":"Patch Set 3: Code-Review+1\n\n(3 comments)\n\nThanks Christian! +100 for fixing this!\n\nHow about this, even simpler? http://paste.openstack.org/show/480633/","accounts_in_message":[],"_revision_number":3},{"id":"6b8858002169696488bb9863543954fe43f2e677","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 16:07:42.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"4622d590b191bf41f251d942e49e2e9f87d81653","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 16:18:36.000000000","message":"Patch Set 4:\n\nThanks Alistair - I like your idea much more, thus added it and just kept my test!","accounts_in_message":[],"_revision_number":4},{"id":"36063dda5023757bb9f1e6956aba3b953bc61b30","author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"date":"2015-12-02 16:31:39.000000000","message":"Patch Set 4: Code-Review-1\n\n(1 comment)\n\nwell, I like this version :) except we lost a recently added line because my cut and paste was done on an older base.","accounts_in_message":[],"_revision_number":4},{"id":"69c051f6f670d4d13c583252a69b798172d3cd14","author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"date":"2015-12-02 16:51:02.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"05a849da9c22a0baba9f749e1fa45c1593605f0a","author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"date":"2015-12-02 16:51:54.000000000","message":"Patch Set 5: Code-Review+1","accounts_in_message":[],"_revision_number":5},{"id":"f8c0ad6c967cc0b573a1806b514da15b137ad0f3","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2015-12-02 17:19:22.000000000","message":"Patch Set 5:\n\n(1 comment)\n\nMaybe I just need more coffee, but after checking out the code, neither\n\n PYTHONPATH\u003d. python bin/swift --debug stat\n\nnor\n\n PYTHONPATH\u003d. python bin/swift stat --debug\n\noutput debugging info. Any idea why? Tests still pass...maybe I\u0027m just doing something stupid.","accounts_in_message":[],"_revision_number":5},{"id":"8c9a728693620827fa295904466923bfeefa46f0","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-12-02 19:00:58.000000000","message":"Patch Set 5: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-python26 http://logs.openstack.org/28/252328/5/check/gate-python-swiftclient-python26/cea21cd/ : SUCCESS in 1m 08s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/28/252328/5/check/gate-python-swiftclient-pep8/19c9b7a/ : SUCCESS in 23s\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/28/252328/5/check/gate-python-swiftclient-docs/6ee28a4//doc/build/html/ : SUCCESS in 39s\n- gate-python-swiftclient-python27 http://logs.openstack.org/28/252328/5/check/gate-python-swiftclient-python27/7055abd/ : SUCCESS in 42s\n- gate-python-swiftclient-python34 http://logs.openstack.org/28/252328/5/check/gate-python-swiftclient-python34/7a985d3/ : SUCCESS in 1m 10s\n- gate-python-swiftclient-pypy http://logs.openstack.org/28/252328/5/check/gate-python-swiftclient-pypy/23e9487/ : SUCCESS in 1m 07s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/28/252328/5/check/gate-tempest-dsvm-neutron-src-python-swiftclient/930ebe9/ : SUCCESS in 1h 24m 07s\n- gate-swift-dsvm-functional http://logs.openstack.org/28/252328/5/check/gate-swift-dsvm-functional/69117b1/ : SUCCESS in 33m 55s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/28/252328/5/check/gate-swiftclient-dsvm-functional/4847489/ : SUCCESS in 36m 40s","accounts_in_message":[],"_revision_number":5},{"id":"5ef3d0b6a341ed75cb2724d1fb9fd7ca5919d7df","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 19:23:30.000000000","message":"Patch Set 5:\n\n(1 comment)\n\nTim, I don\u0027t know why it\u0027s not working for you - your commands worked for me? Anyways, I\u0027m updating this patch with your idea applied. Thx!","accounts_in_message":[],"_revision_number":5},{"id":"3ede5b9919121abddc303e66f67b22cd8c59974e","author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"date":"2015-12-02 19:26:15.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"bb80f7a5831214a1fe3f3eb5603501f4ed0efaf0","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2015-12-02 20:04:32.000000000","message":"Patch Set 6: Code-Review-1\n\n(3 comments)\n\nFound the problem: I was passing storage URL/token instead of auth url/user/password.","accounts_in_message":[],"_revision_number":6},{"id":"97dd5dd3ddc6c664dd6645e55f4d321632992041","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-12-02 20:28:55.000000000","message":"Patch Set 6: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-pep8 http://logs.openstack.org/28/252328/6/check/gate-python-swiftclient-pep8/5007f42/ : SUCCESS in 57s\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/28/252328/6/check/gate-python-swiftclient-docs/bcb5586//doc/build/html/ : SUCCESS in 45s\n- gate-python-swiftclient-python27 http://logs.openstack.org/28/252328/6/check/gate-python-swiftclient-python27/4cf5be4/ : SUCCESS in 1m 05s\n- gate-python-swiftclient-python34 http://logs.openstack.org/28/252328/6/check/gate-python-swiftclient-python34/54ae032/ : SUCCESS in 2m 05s\n- gate-python-swiftclient-pypy http://logs.openstack.org/28/252328/6/check/gate-python-swiftclient-pypy/c2c9ec5/ : SUCCESS in 1m 16s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/28/252328/6/check/gate-tempest-dsvm-neutron-src-python-swiftclient/28ad2b3/ : SUCCESS in 58m 01s\n- gate-swift-dsvm-functional http://logs.openstack.org/28/252328/6/check/gate-swift-dsvm-functional/3d524fe/ : SUCCESS in 39m 21s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/28/252328/6/check/gate-swiftclient-dsvm-functional/56f3f31/ : SUCCESS in 33m 37s","accounts_in_message":[],"_revision_number":6},{"id":"5e46f3650be71b21d15d94f20ac742b439c37131","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2015-12-30 22:25:17.000000000","message":"Uploaded patch set 7.","accounts_in_message":[],"_revision_number":7},{"id":"7956597b5c84252d2b0728f4d9d9aeae9e287930","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2015-12-30 23:18:42.000000000","message":"Patch Set 7: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-pep8 http://logs.openstack.org/28/252328/7/check/gate-python-swiftclient-pep8/51fc513/ : SUCCESS in 41s\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/28/252328/7/check/gate-python-swiftclient-docs/608e126//doc/build/html/ : SUCCESS in 47s\n- gate-python-swiftclient-python27 http://logs.openstack.org/28/252328/7/check/gate-python-swiftclient-python27/5769e38/ : SUCCESS in 59s\n- gate-python-swiftclient-python34 http://logs.openstack.org/28/252328/7/check/gate-python-swiftclient-python34/858fac1/ : SUCCESS in 1m 49s\n- gate-python-swiftclient-pypy http://logs.openstack.org/28/252328/7/check/gate-python-swiftclient-pypy/617854d/ : SUCCESS in 1m 23s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/28/252328/7/check/gate-tempest-dsvm-neutron-src-python-swiftclient/6550b9c/ : SUCCESS in 53m 18s\n- gate-swift-dsvm-functional http://logs.openstack.org/28/252328/7/check/gate-swift-dsvm-functional/0202f57/ : SUCCESS in 26m 31s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/28/252328/7/check/gate-swiftclient-dsvm-functional/f57c68a/ : SUCCESS in 20m 57s","accounts_in_message":[],"_revision_number":7},{"id":"54daaf663dfe1b8b212356b6195c97ebc16e2eee","author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"date":"2016-02-11 14:24:40.000000000","message":"Patch Set 7: Code-Review+2\n\nWorks for me - trying this out, --debug always takes precedence over --info, before and after the subcommand.","accounts_in_message":[],"_revision_number":7},{"id":"20c63fc90fc56329a1033c6cc46cd52ffee8de31","author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"date":"2016-02-11 15:16:38.000000000","message":"Patch Set 7:\n\nSee extra test here https://review.openstack.org/279132","accounts_in_message":[],"_revision_number":7},{"id":"5375c23b32afc31bbe9cd2d2e4d50507f02f30c9","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2016-02-11 18:59:27.000000000","message":"Patch Set 7: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":7},{"id":"29924a85378d120c3e735558c2c4d4de0daebc82","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-11 18:59:34.000000000","message":"Patch Set 7: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":7},{"id":"39fbf2034ee8edaca560f6b0d80c11a4d434fa0c","date":"2016-02-11 20:22:09.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":7},{"id":"e2afe4fae66ab73b2f149612430847e0c9534c18","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-11 20:22:09.000000000","message":"Patch Set 7: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/28/252328/7/gate/gate-python-swiftclient-docs/c27240a//doc/build/html/ : SUCCESS in 45s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/28/252328/7/gate/gate-python-swiftclient-pep8/c779600/ : SUCCESS in 48s\n- gate-python-swiftclient-python27 http://logs.openstack.org/28/252328/7/gate/gate-python-swiftclient-python27/5567e1c/ : SUCCESS in 1m 10s\n- gate-python-swiftclient-python34 http://logs.openstack.org/28/252328/7/gate/gate-python-swiftclient-python34/8cc38aa/ : SUCCESS in 2m 07s\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/28/252328/7/gate/gate-tempest-dsvm-neutron-src-python-swiftclient/33cb20f/ : SUCCESS in 57m 17s\n- gate-swift-dsvm-functional http://logs.openstack.org/28/252328/7/gate/gate-swift-dsvm-functional/e42473b/ : SUCCESS in 31m 49s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/28/252328/7/gate/gate-swiftclient-dsvm-functional/8b10211/ : SUCCESS in 19m 06s","accounts_in_message":[],"_revision_number":7}],"current_revision_number":7,"current_revision":"109e8f519f103334cc49479b3fb552084eb2929a","revisions":{"b5356a57887ce7a11b258a2e410b34512e419318":{"kind":"REWORK","_number":1,"created":"2015-12-02 10:56:35.000000000","uploader":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"ref":"refs/changes/28/252328/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/1"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 10:52:52.000000000","tz":0},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch ads a inherited class for OptionParser, making it possible to parse\nargs even if they are not yet known. Doing so allows to parse all args before\ncalling the subcommand method. Invalid arguments are still raising an error,\nbecause any subcommand method will finally parse the args itself and raise an\nerror eventually.\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/b5356a57887ce7a11b258a2e410b34512e419318"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/b5356a57887ce7a11b258a2e410b34512e419318"}]},"branch":"refs/heads/master"},"fc7b9dea223beb14e9c07c2028ef71f32f135c25":{"kind":"REWORK","_number":2,"created":"2015-12-02 10:59:30.000000000","uploader":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"ref":"refs/changes/28/252328/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/2"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 10:57:48.000000000","tz":0},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch simply checks if the --debug or --info option appear anywhere in the\narguments and if so, set the corresponding internal variables. Finally commands\nlike this are no longer ignoring --debug or --info:\n\n swift stat --debug\n swift list container --info\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/fc7b9dea223beb14e9c07c2028ef71f32f135c25"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/fc7b9dea223beb14e9c07c2028ef71f32f135c25"}]},"branch":"refs/heads/master"},"8dadea4ff1c7d1a92f3fb437d52307179f0a9f30":{"kind":"REWORK","_number":3,"created":"2015-12-02 11:15:29.000000000","uploader":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"ref":"refs/changes/28/252328/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/3"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 11:12:31.000000000","tz":0},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch simply checks if the --debug or --info option appear anywhere in the\narguments and if so, set the corresponding internal variables. Finally commands\nlike this are no longer ignoring --debug or --info:\n\n swift stat --debug\n swift list container --info\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/8dadea4ff1c7d1a92f3fb437d52307179f0a9f30"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/8dadea4ff1c7d1a92f3fb437d52307179f0a9f30"}]},"branch":"refs/heads/master"},"8c29a0746444fc497c7bbc0d7696517cd2d0cba1":{"kind":"REWORK","_number":4,"created":"2015-12-02 16:07:42.000000000","uploader":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"ref":"refs/changes/28/252328/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/4"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 16:06:14.000000000","tz":0},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch fixes this, and commands like these are no longer ignoring --debug or --info:\n\n swift stat --debug\n swift list container --info\n\nCo-Authored-By: Alistair Coles \u003calistair.coles@hpe.com\u003e\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/8c29a0746444fc497c7bbc0d7696517cd2d0cba1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/8c29a0746444fc497c7bbc0d7696517cd2d0cba1"}]},"branch":"refs/heads/master"},"4fe06c9b6525877b3d4de1cdc1556f402fb3387c":{"kind":"REWORK","_number":5,"created":"2015-12-02 16:51:02.000000000","uploader":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"ref":"refs/changes/28/252328/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/5"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Alistair Coles","email":"alistair.coles@hpe.com","date":"2015-12-02 16:50:51.000000000","tz":0},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch fixes this, and commands like these are no longer ignoring --debug or --info:\n\n swift stat --debug\n swift list container --info\n\nCo-Authored-By: Alistair Coles \u003calistair.coles@hpe.com\u003e\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/4fe06c9b6525877b3d4de1cdc1556f402fb3387c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/4fe06c9b6525877b3d4de1cdc1556f402fb3387c"}]},"branch":"refs/heads/master"},"c7ade10dee1196c9ccaa81ce007157b71b7adb77":{"kind":"REWORK","_number":6,"created":"2015-12-02 19:26:15.000000000","uploader":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"ref":"refs/changes/28/252328/6","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/6","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/6"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 18:55:35.000000000","tz":0},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch fixes this, and commands like these are no longer ignoring --debug or --info:\n\n swift stat --debug\n swift list container --info\n\nCo-Authored-By: Alistair Coles \u003calistair.coles@hpe.com\u003e\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/c7ade10dee1196c9ccaa81ce007157b71b7adb77"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/c7ade10dee1196c9ccaa81ce007157b71b7adb77"}]},"branch":"refs/heads/master"},"109e8f519f103334cc49479b3fb552084eb2929a":{"kind":"REWORK","_number":7,"created":"2015-12-30 22:25:17.000000000","uploader":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"ref":"refs/changes/28/252328/7","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/28/252328/7","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/28/252328/7"}}},"commit":{"parents":[{"commit":"a564eb0e4cad452c5556c54c752ed896d0eb25af","subject":"Merge \"Unification of manpages and docstrings\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/a564eb0e4cad452c5556c54c752ed896d0eb25af"}]}],"author":{"name":"Christian Schwede","email":"cschwede@redhat.com","date":"2015-12-02 09:49:50.000000000","tz":0},"committer":{"name":"Tim Burke","email":"tim.burke@gmail.com","date":"2015-12-30 22:22:01.000000000","tz":-480},"subject":"Fix debug and info option parsing","message":"Fix debug and info option parsing\n\nThe debug and info options need to be set before a subcommand method is called,\notherwise they are simply ignored. This is kind of irritating - other options\n(for example -U, -A, -K) are usable after a positional command.\n\nThis patch fixes this, and commands like these are no longer ignoring --debug or --info:\n\n swift stat --debug\n swift list container --info\n\nCo-Authored-By: Alistair Coles \u003calistair.coles@hpe.com\u003e\n\nChange-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/109e8f519f103334cc49479b3fb552084eb2929a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/109e8f519f103334cc49479b3fb552084eb2929a"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
