fix identation according to lint
This commit is contained in:
parent
9fb8b585b5
commit
f15e5483e7
1 changed files with 6 additions and 5 deletions
|
@ -6,11 +6,12 @@ from util.registry.replication import queue_storage_replication
|
|||
|
||||
def backfill_replication():
|
||||
encountered = set()
|
||||
query = (Image.select(Image, ImageStorage, Repository, User)
|
||||
.join(ImageStorage)
|
||||
.switch(Image)
|
||||
.join(Repository)
|
||||
.join(User))
|
||||
query = (Image
|
||||
.select(Image, ImageStorage, Repository, User)
|
||||
.join(ImageStorage)
|
||||
.switch(Image)
|
||||
.join(Repository)
|
||||
.join(User))
|
||||
|
||||
for image in query:
|
||||
if image.storage.uuid in encountered:
|
||||
|
|
Reference in a new issue