fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Librarian: support for <abstrakt>
[wolnelektury.git]
/
apps
/
funding
/
utils.py
diff --git
a/apps/funding/utils.py
b/apps/funding/utils.py
index
2b5f58f
..
c16c9d9
100644
(file)
--- a/
apps/funding/utils.py
+++ b/
apps/funding/utils.py
@@
-1,4
+1,7
@@
-# -*- coding: utf-8
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
import re
import string
from fnpdjango.utils.text.slughifi import char_map
import re
import string
from fnpdjango.utils.text.slughifi import char_map
@@
-8,8
+11,8
@@
from fnpdjango.utils.text.slughifi import char_map
# with the notable exception of backslash.
sane_in_payu_title = re.escape(
string.uppercase +
# with the notable exception of backslash.
sane_in_payu_title = re.escape(
string.uppercase +
- string.lowercase +
- u'ąćęłńóśźżĄĆĘŁŃÓŚŹŻ' +
+ string.lowercase +
+ u'ąćęłńóśźżĄĆĘŁŃÓŚŹŻ' +
string.digits +
' ' +
"".join(set(string.punctuation) - set('\\'))
string.digits +
' ' +
"".join(set(string.punctuation) - set('\\'))