yep, ATM I'd go for rawconfigparser but someone asked for interpolation .... so we have two distinct "paths" . Just need to rule out one ^_^
On Tuesday, September 27, 2016 at 6:56:10 PM UTC+2, Ivan wrote: > > escaping % with % solves the problem > however I think it would be better to not force the user to escape each % > in a .ini file > > the exception comes from the ConfigParser python module (more > precisely SafeConfigParser) used in AppConfig > maybe a better solution is to use RawConfigParser that doesn't interpolate > at all > > > Il giorno martedì 27 settembre 2016 17:30:21 UTC+2, Niphlod ha scritto: >> >> hum. did you try excaping the % with % , which means basically having %% >> instead of % ? >> >> On Tuesday, September 27, 2016 at 4:15:45 PM UTC+2, Ivan wrote: >>> >>> I don't want to interpolate. >>> I have an option with a % inside and the AppConfig raises an exception. >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.