Hi, I have tried using the config example from http://docs.repoze.org/who/2.0/configuration.html#configuring-repoze-who-via-config-file and I get a ConfigParser exception.
ConfigParser.InterpolationMissingOptionError: Bad value substitution: section: [plugin:sqlusers] option : query key : login rawval : "SELECT userid, password FROM users where login = %(login)s;" Obviously the %(login)s variable is supposed to be substituted at a later time, not during the configuration parsing so I did a bit of digging and found a related ticket http://trac.pythonpaste.org/pythonpaste/ticket/379 that suggests using the SafeConfigParser instead of ConfigParser because it supports escaping substituted variables like %%(login)s Is there a way to use substituted variables without changing the parser? Thanks, Russell -- Russell Sim ARCS Collaborative Services Officer Victorian Partnership for Advanced Computing 110 Victoria St. Carlton South, VIC, 3053 AU _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev