fix indentation

This commit is contained in:
Jimmy Zelinskie 2016-06-15 14:49:03 -04:00
parent dc79000d8f
commit e3a39d7bd6

View file

@ -344,9 +344,10 @@ def load_manifest_by_digest(namespace, repo_name, digest):
def _load_repo_manifests(namespace, repo_name): def _load_repo_manifests(namespace, repo_name):
return _tag_alive(TagManifest return _tag_alive(TagManifest
.select(TagManifest, RepositoryTag, Repository) .select(TagManifest, RepositoryTag)
.join(RepositoryTag) .join(RepositoryTag)
.join(Repository) .join(Image)
.join(Namespace, on=(Namespace.id == Repository.namespace_user)) .join(Repository)
.where(Repository.name == repo_name, Namespace.username == namespace)) .join(Namespace, on=(Namespace.id == Repository.namespace_user))
.where(Repository.name == repo_name, Namespace.username == namespace))