Commit b3e6ce4c authored by Dan Pascu's avatar Dan Pascu

Fixed KeyError argument

parent 9064b155
...@@ -2153,7 +2153,7 @@ class ItemList(list): ...@@ -2153,7 +2153,7 @@ class ItemList(list):
try: try:
operation, key = index operation, key = index
except ValueError: except ValueError:
raise KeyError(key) raise KeyError(index)
if operation is GroupElement: if operation is GroupElement:
return self.__groupmap__[key] return self.__groupmap__[key]
elif operation is GroupContacts: elif operation is GroupContacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment