mirror of
https://github.com/pretix/pretix.git
synced 2026-08-05 09:57:49 +00:00
str.split has no keyword arguments in Python 3.2
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user