str.split has no keyword arguments in Python 3.2

This commit is contained in:
Raphael Michel
2014-10-07 17:46:23 +02:00
parent d004d7c49a
commit 1f0736eee0

View File

@@ -39,7 +39,7 @@ class EventRelatedCache:
return key
def _strip_prefix(self, key):
return key.split(":", maxsplit=3)[-1] if 'event:' in key else key
return key.split(":", 3)[-1] if 'event:' in key else key
def clear(self):
try: