Fix lint, add missing __all__
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/967a4522 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/967a4522 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/967a4522 Branch: refs/heads/trunk Commit: 967a4522bf4a7f0b6d78fec492aedbe9778f66cc Parents: f81ab67 Author: Tomaz Muraus <[email protected]> Authored: Fri May 20 10:59:38 2016 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Fri May 20 11:02:41 2016 +0200 ---------------------------------------------------------------------- libcloud/storage/drivers/rgw.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/967a4522/libcloud/storage/drivers/rgw.py ---------------------------------------------------------------------- diff --git a/libcloud/storage/drivers/rgw.py b/libcloud/storage/drivers/rgw.py index 684047f..0f16ac9 100644 --- a/libcloud/storage/drivers/rgw.py +++ b/libcloud/storage/drivers/rgw.py @@ -14,11 +14,14 @@ # limitations under the License. from libcloud.common.types import LibcloudError - -from libcloud.storage.drivers.s3 import BaseS3Connection, S3Connection,\ - S3StorageDriver, API_VERSION - from libcloud.common.aws import SignedAWSConnection, DEFAULT_SIGNATURE_VERSION +from libcloud.storage.drivers.s3 import BaseS3Connection, S3Connection +from libcloud.storage.drivers.s3 import S3StorageDriver, API_VERSION + +__all__ = [ + 'S3RGWStorageDriver', + 'S3RGWOutscaleStorageDriver' +] S3_RGW_DEFAULT_REGION = 'default' @@ -131,7 +134,7 @@ class S3RGWOutscaleStorageDriver(S3RGWStorageDriver): host = S3_RGW_OUTSCALE_HOSTS_BY_REGION[region] self.connectionCls.host = host - super(S3RGWStorageDriver, self).__init__(key, secret, - secure, host, port, - api_version, region, - **kwargs) + super(S3RGWOutscaleStorageDriver, self).__init__(key, secret, + secure, host, port, + api_version, region, + **kwargs)
