Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 5615:14e176b5cd90
merge from upsteam
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 16 Feb 2019 15:21:47 -0500 |
| parents | be99aa02c616 0a8f0fddc2ae |
| children | b3618882f906 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Sat Feb 16 15:17:21 2019 -0500 +++ b/roundup/cgi/client.py Sat Feb 16 15:21:47 2019 -0500 @@ -48,7 +48,7 @@ from email.mime.multipart import MIMEMultipart import roundup.anypy.email_ -from roundup.anypy.strings import s2b, b2s, uchr +from roundup.anypy.strings import s2b, b2s, uchr, is_us def initialiseSecurity(security): '''Create some Permissions and Roles on the security object @@ -1511,7 +1511,7 @@ prefix = self.instance.config[dir_option] if not prefix: continue - if type(prefix) is str: + if is_us(prefix): # prefix can be a string or list depending on # option. Make it a list to iterate over. prefix = [ prefix ]
