Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 5417:c749d6795bc2
Python 3 preparation: unichr.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Wed, 25 Jul 2018 09:07:03 +0000 |
| parents | e46ce04d5bbc |
| children | a0ed8d5d744f |
line wrap: on
line diff
--- a/roundup/cgi/client.py Wed Jul 25 09:05:58 2018 +0000 +++ b/roundup/cgi/client.py Wed Jul 25 09:07:03 2018 +0000 @@ -49,6 +49,8 @@ from email.MIMEMultipart import MIMEMultipart import roundup.anypy.email_ +from roundup.anypy.strings import uchr + def initialiseSecurity(security): '''Create some Permissions and Roles on the security object @@ -778,7 +780,7 @@ uc = int(num[1:], 16) else: uc = int(num) - return unichr(uc) + return uchr(uc) for field_name in self.form: field = self.form[field_name]
