Christian Schwede 109e8f519f Fix debug and info option parsing
The debug and info options need to be set before a subcommand method is called,
otherwise they are simply ignored. This is kind of irritating - other options
(for example -U, -A, -K) are usable after a positional command.

This patch fixes this, and commands like these are no longer ignoring --debug or --info:

 swift stat --debug
 swift list container --info

Co-Authored-By: Alistair Coles <alistair.coles@hpe.com>

Change-Id: Ib19b05deef7a015881f1eed4a3946025e16bf922
2015-12-30 14:22:01 -08:00
2014-03-25 11:36:39 +00:00
2015-12-30 14:22:01 -08:00
2014-05-09 09:29:04 +02:00
2015-11-24 16:31:44 +00:00
2015-09-07 08:20:14 -07:00
2012-05-08 16:30:13 +01:00
2013-05-01 12:23:12 -04:00
2015-11-19 16:26:14 +08:00
2015-05-20 18:14:53 -07:00
2012-05-21 12:52:55 +02:00
2013-09-13 11:02:05 -05:00
2015-10-01 12:31:12 -07:00

Python bindings to the OpenStack Object Storage API

Latest Version

Downloads

This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki.

This code is based on original the client previously included with OpenStack's Swift The python-swiftclient is licensed under the Apache License like the rest of OpenStack.

Contents:

Description
OpenStack Storage (Swift) Client
Readme 14 MiB
Languages
Python 99.9%
Shell 0.1%