delete trailing whitespace

This commit is contained in:
Jimmy Zelinskie 2018-08-08 22:23:42 -04:00
parent a66a4d6a10
commit 568ca1d7ba

View file

@ -47,13 +47,13 @@ def _get_repository_blob(namespace_name, repo_name, digest):
blob = model.get_blob_by_digest(namespace_name, repo_name, digest)
if blob is None:
return None
return blob._asdict()
blob_cache_key = cache_key.for_repository_blob(namespace_name, repo_name, digest)
blob_dict = model_cache.retrieve(blob_cache_key, load_blob)
return Blob(**blob_dict) if blob_dict is not None else None
@v2_bp.route(BLOB_DIGEST_ROUTE, methods=['HEAD'])
@parse_repository_name()