Skip to content

Commit e2492c9

Browse files
authored
Fix according to pycodestyle format (#2052)
* Fix E128 continuation line under-indented for visual indent * Fix W605 invalid escape sequence * Fix E305 expected 2 blank lines * Fix E302 expected 2 blank lines * Fix space on last line of file
1 parent 8f9eb98 commit e2492c9

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

boto3/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def __init__(self, operation, value):
9191
(operation, value, type(value)))
9292
Exception.__init__(self, msg)
9393

94+
9495
# FIXME: Backward compatibility
9596
DynanmoDBOperationNotSupportedError = DynamoDBOperationNotSupportedError
9697

boto3/resources/action.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __call__(self, parent, *args, **kwargs):
7878
params.update(kwargs)
7979

8080
logger.debug('Calling %s:%s with %r', parent.meta.service_name,
81-
operation_name, params)
81+
operation_name, params)
8282

8383
response = getattr(parent.meta.client, operation_name)(*args, **params)
8484

@@ -147,7 +147,7 @@ def __call__(self, parent, *args, **kwargs):
147147
params.update(kwargs)
148148

149149
logger.debug('Calling %s:%s with %r',
150-
service_name, operation_name, params)
150+
service_name, operation_name, params)
151151

152152
response = getattr(client, operation_name)(*args, **params)
153153

@@ -194,8 +194,8 @@ def __call__(self, parent, *args, **kwargs):
194194
params.update(kwargs)
195195

196196
logger.debug('Calling %s:%s with %r',
197-
parent.meta.service_name,
198-
self._waiter_resource_name, params)
197+
parent.meta.service_name,
198+
self._waiter_resource_name, params)
199199

200200
client = parent.meta.client
201201
waiter = client.get_waiter(client_waiter_name)

boto3/s3/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def bucket_load(self, *args, **kwargs):
7878
if not e.response.get('Error', {}).get('Code') == 'AccessDenied':
7979
raise
8080

81+
8182
def object_summary_load(self, *args, **kwargs):
8283
"""
8384
Calls s3.Client.head_object to update the attributes of the ObjectSummary
@@ -758,4 +759,3 @@ def object_download_fileobj(self, Fileobj, ExtraArgs=None, Callback=None,
758759
return self.meta.client.download_fileobj(
759760
Bucket=self.bucket_name, Key=self.key, Fileobj=Fileobj,
760761
ExtraArgs=ExtraArgs, Callback=Callback, Config=Config)
761-

0 commit comments

Comments
 (0)