On Friday, August 10, 2012 10:36:43 PM UTC-5, Zak wrote: > > I'm trying to setup mongodb as my root factory, but whenever I try to > access a value in production.ini (like settings['mongo_uri']), it crashes > saying KeyError even though that key does exist and is accessed perfectly > in the Main function. Why can't it access the INI files? Here is a pastebin > link to the relevant code: http://pastebin.com/Uw0x3Vzn > > Can anyone see what's wrong here? >
Nevermind...figured this out with MongoRootFactory(settings) -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/iU8ym2oyxY4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
