Address concerns from pull request.

This commit is contained in:
Jake Moshenko 2015-02-18 10:43:08 -05:00
parent 579d900ef2
commit 2cd5bdb563
3 changed files with 3 additions and 6 deletions

View file

@ -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))