mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Fix a syntax typo
This worked for now, but is SyntaxError in Python 3.9.0a6: File "/usr/lib/python3.9/site-packages/ipapython/cookie.py", line 222 return'/' ^ SyntaxError: invalid string prefix (The Python change might actually be reverted before 3.9 final, but this can be fixed anyway.) Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
f4892d42af
commit
35e1ebb2f3
@ -219,7 +219,7 @@ class Cookie:
|
|||||||
return '/'
|
return '/'
|
||||||
|
|
||||||
if url_path.count('/') <= 1:
|
if url_path.count('/') <= 1:
|
||||||
return'/'
|
return '/'
|
||||||
|
|
||||||
return url_path[:url_path.rindex('/')]
|
return url_path[:url_path.rindex('/')]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user