libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vd...@apache.org
Subject [3/8] libcloud git commit: style: fix command and space
Date Tue, 25 Sep 2018 08:48:22 GMT
style: fix command and space


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c655afdf
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c655afdf
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c655afdf

Branch: refs/heads/trunk
Commit: c655afdf26c02f299e2746ef090ede4fe1f5d76b
Parents: 922a759
Author: yangkang <yangkang@gagogroup.com>
Authored: Tue Sep 25 12:24:28 2018 +0800
Committer: yangkang <yangkang@gagogroup.com>
Committed: Tue Sep 25 12:24:28 2018 +0800

----------------------------------------------------------------------
 libcloud/storage/providers.py | 66 +++++++++++++++++++-------------------
 libcloud/storage/types.py     |  2 +-
 2 files changed, 34 insertions(+), 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c655afdf/libcloud/storage/providers.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/providers.py b/libcloud/storage/providers.py
index c0bfbb6..a169e9a 100644
--- a/libcloud/storage/providers.py
+++ b/libcloud/storage/providers.py
@@ -20,71 +20,71 @@ from libcloud.storage.types import Provider
 
 DRIVERS = {
     Provider.DUMMY:
-        ('libcloud.storage.drivers.dummy', 'DummyStorageDriver'),
+    ('libcloud.storage.drivers.dummy', 'DummyStorageDriver'),
     Provider.CLOUDFILES:
-        ('libcloud.storage.drivers.cloudfiles', 'CloudFilesStorageDriver'),
+    ('libcloud.storage.drivers.cloudfiles', 'CloudFilesStorageDriver'),
     Provider.OPENSTACK_SWIFT:
-        ('libcloud.storage.drivers.cloudfiles', 'OpenStackSwiftStorageDriver'),
+    ('libcloud.storage.drivers.cloudfiles', 'OpenStackSwiftStorageDriver'),
     Provider.S3:
-        ('libcloud.storage.drivers.s3', 'S3StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3StorageDriver'),
     Provider.S3_US_EAST2:
-        ('libcloud.storage.drivers.s3', 'S3USEast2StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3USEast2StorageDriver'),
     Provider.S3_US_WEST:
-        ('libcloud.storage.drivers.s3', 'S3USWestStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3USWestStorageDriver'),
     Provider.S3_US_WEST_OREGON:
-        ('libcloud.storage.drivers.s3', 'S3USWestOregonStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3USWestOregonStorageDriver'),
     Provider.S3_US_GOV_WEST:
-        ('libcloud.storage.drivers.s3', 'S3USGovWestStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3USGovWestStorageDriver'),
     Provider.S3_CN_NORTH:
-        ('libcloud.storage.drivers.s3', 'S3CNNorthStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3CNNorthStorageDriver'),
     Provider.S3_CN_NORTHQWEST:
-        ('libcloud.storage.drivers.s3', 'S3CNNorthWestStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3CNNorthWestStorageDriver'),
     Provider.S3_EU_WEST:
-        ('libcloud.storage.drivers.s3', 'S3EUWestStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3EUWestStorageDriver'),
     Provider.S3_EU_WEST2:
-        ('libcloud.storage.drivers.s3', 'S3EUWest2StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3EUWest2StorageDriver'),
     Provider.S3_EU_CENTRAL:
-        ('libcloud.storage.drivers.s3', 'S3EUCentralStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3EUCentralStorageDriver'),
     Provider.S3_AP_SOUTH:
-        ('libcloud.storage.drivers.s3', 'S3APSouthStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3APSouthStorageDriver'),
     Provider.S3_AP_SOUTHEAST:
-        ('libcloud.storage.drivers.s3', 'S3APSEStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3APSEStorageDriver'),
     Provider.S3_AP_SOUTHEAST2:
-        ('libcloud.storage.drivers.s3', 'S3APSE2StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3APSE2StorageDriver'),
     Provider.S3_AP_NORTHEAST:
-        ('libcloud.storage.drivers.s3', 'S3APNE1StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3APNE1StorageDriver'),
     Provider.S3_AP_NORTHEAST1:
-        ('libcloud.storage.drivers.s3', 'S3APNE1StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3APNE1StorageDriver'),
     Provider.S3_AP_NORTHEAST2:
-        ('libcloud.storage.drivers.s3', 'S3APNE2StorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3APNE2StorageDriver'),
     Provider.S3_SA_EAST:
-        ('libcloud.storage.drivers.s3', 'S3SAEastStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3SAEastStorageDriver'),
     Provider.S3_CA_CENTRAL:
-        ('libcloud.storage.drivers.s3', 'S3CACentralStorageDriver'),
+    ('libcloud.storage.drivers.s3', 'S3CACentralStorageDriver'),
     Provider.S3_RGW:
-        ('libcloud.storage.drivers.rgw', 'S3RGWStorageDriver'),
+    ('libcloud.storage.drivers.rgw', 'S3RGWStorageDriver'),
     Provider.S3_RGW_OUTSCALE:
-        ('libcloud.storage.drivers.rgw', 'S3RGWOutscaleStorageDriver'),
+    ('libcloud.storage.drivers.rgw', 'S3RGWOutscaleStorageDriver'),
     Provider.NINEFOLD:
-        ('libcloud.storage.drivers.ninefold', 'NinefoldStorageDriver'),
+    ('libcloud.storage.drivers.ninefold', 'NinefoldStorageDriver'),
     Provider.GOOGLE_STORAGE:
-        ('libcloud.storage.drivers.google_storage', 'GoogleStorageDriver'),
+    ('libcloud.storage.drivers.google_storage', 'GoogleStorageDriver'),
     Provider.NIMBUS:
-        ('libcloud.storage.drivers.nimbus', 'NimbusStorageDriver'),
+    ('libcloud.storage.drivers.nimbus', 'NimbusStorageDriver'),
     Provider.LOCAL:
-        ('libcloud.storage.drivers.local', 'LocalStorageDriver'),
+    ('libcloud.storage.drivers.local', 'LocalStorageDriver'),
     Provider.AZURE_BLOBS:
-        ('libcloud.storage.drivers.azure_blobs', 'AzureBlobsStorageDriver'),
+    ('libcloud.storage.drivers.azure_blobs', 'AzureBlobsStorageDriver'),
     Provider.KTUCLOUD:
-        ('libcloud.storage.drivers.ktucloud', 'KTUCloudStorageDriver'),
+    ('libcloud.storage.drivers.ktucloud', 'KTUCloudStorageDriver'),
     Provider.AURORAOBJECTS:
-        ('libcloud.storage.drivers.auroraobjects', 'AuroraObjectsStorageDriver'),
+    ('libcloud.storage.drivers.auroraobjects', 'AuroraObjectsStorageDriver'),
     Provider.BACKBLAZE_B2:
-        ('libcloud.storage.drivers.backblaze_b2', 'BackblazeB2StorageDriver'),
+    ('libcloud.storage.drivers.backblaze_b2', 'BackblazeB2StorageDriver'),
     Provider.ALIYUN_OSS:
-        ('libcloud.storage.drivers.oss', 'OSSStorageDriver'),
+    ('libcloud.storage.drivers.oss', 'OSSStorageDriver'),
     Provider.DIGITALOCEAN_SPACES:
-        ('libcloud.storage.drivers.digitalocean_spaces',
+    ('libcloud.storage.drivers.digitalocean_spaces',
          'DigitalOceanSpacesStorageDriver'),
 }
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/c655afdf/libcloud/storage/types.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/types.py b/libcloud/storage/types.py
index 39e6aed..efc1bf9 100644
--- a/libcloud/storage/types.py
+++ b/libcloud/storage/types.py
@@ -92,7 +92,7 @@ class Provider(object):
     S3_AP_SOUTHEAST2 = 's3_ap_southeast2'
     S3_CA_CENTRAL = 's3_ca_central'
     S3_CN_NORTH = 's3_cn_north'
-    S3_CN_NORTHQWEST='s3_cn_northwest'
+    S3_CN_NORTHQWEST = 's3_cn_northwest'
     S3_EU_WEST = 's3_eu_west'
     S3_EU_WEST2 = 's3_eu_west_2'
     S3_EU_CENTRAL = 's3_eu_central'


Mime
View raw message