forked from CGM_Public/pretix_original
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