Fix typo in error message

Change-Id: I8587fd50d17c61f5ccaceea1f70b4814ae279618
Closes-Bug: #1476281
This commit is contained in:
Dmytro Dovbii 2015-07-23 16:26:14 +03:00
parent 4eaaec0510
commit 7f3c642c5a

View File

@ -416,7 +416,7 @@ def category_get(category_id, session=None, packages=False):
category = session.query(models.Category).get(category_id)
if not category:
msg = _("Category id or '{0}' not found").format(category_id)
msg = _("Category id '{0}' not found").format(category_id)
LOG.error(msg)
raise exc.HTTPNotFound(msg)
if packages: