store: Remove unused variable

This commit is contained in:
Tomas Babej 2015-12-25 21:44:23 +01:00
parent e3f253ed36
commit 9d4df3bba2

View file

@ -31,7 +31,7 @@ class WarriorStore(object):
def __getitem__(self, key):
try:
return self.warriors[key]
except KeyError as e:
except KeyError:
raise errors.TaskWikiException(
"Taskwarrior with key '{0}' not available."
.format(key))