match list behaviour

This commit is contained in:
Andreas Preikschat 2014-04-26 19:40:26 +02:00
parent 3f1e7f1912
commit 88a3ac6216
1 changed files with 2 additions and 0 deletions

View File

@ -209,6 +209,8 @@ class CategoryList(object):
for category in self.categories:
if category.name == name:
self.categories.remove(category)
return
raise ValueError('Category "%s" does not exist.' % name)
class ActionList(object):