PEP8 cleanup
This commit is contained in:
parent
a8d791c2d7
commit
f536fdd8f3
@ -118,7 +118,7 @@ pygments_style = 'sphinx'
|
||||
# A list of ignored prefixes for module index sorting.
|
||||
modindex_common_prefix = ['glance.']
|
||||
|
||||
# -- Options for man page output -----------------------------------------------
|
||||
# -- Options for man page output ----------------------------------------------
|
||||
|
||||
# Grouping the document tree for man pages.
|
||||
# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual'
|
||||
|
@ -117,6 +117,7 @@ def stub_out_s3_backend(stubs):
|
||||
|
||||
class FakeSwiftAuth(object):
|
||||
pass
|
||||
|
||||
class FakeS3Connection(object):
|
||||
pass
|
||||
|
||||
@ -134,7 +135,7 @@ def stub_out_s3_backend(stubs):
|
||||
|
||||
def chunk_it():
|
||||
for i in xrange(0, len(cls.DATA), cls.CHUNK_SIZE):
|
||||
yield cls.DATA[i:i+cls.CHUNK_SIZE]
|
||||
yield cls.DATA[i:i + cls.CHUNK_SIZE]
|
||||
|
||||
return chunk_it()
|
||||
|
||||
|
@ -106,7 +106,6 @@ class TestS3Backend(TestBackend):
|
||||
self.assertEqual(chunks, expected_returns)
|
||||
|
||||
|
||||
|
||||
class TestSwiftBackend(TestBackend):
|
||||
|
||||
def setUp(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user