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
|
return key
|
||||||
|
|
||||||
def _strip_prefix(self, 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):
|
def clear(self):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user