Address concerns from pull request.
This commit is contained in:
parent
579d900ef2
commit
2cd5bdb563
3 changed files with 3 additions and 6 deletions
|
@ -1805,7 +1805,6 @@ def delete_tag(namespace_name, repository_name, tag_name):
|
|||
Namespace.username == namespace_name,
|
||||
RepositoryTag.name == tag_name))
|
||||
found = db_for_update(query).get()
|
||||
|
||||
except RepositoryTag.DoesNotExist:
|
||||
msg = ('Invalid repository tag \'%s\' on repository \'%s/%s\'' %
|
||||
(tag_name, namespace_name, repository_name))
|
||||
|
|
Reference in a new issue