I found answer to this. Something similar can be done in TG2.0 as:-
-<path_of_file> = config["'pylons.paths"]["root"] + /config/some_file. Thanks, Gaurav Nanda On Thu, Feb 11, 2010 at 12:01 AM, Gaurav <[email protected]> wrote: > H > > I was using trying to move a tg1.1. project to tg2.0. > > Somewhere in a controller this is giving an error:- > > -<path_of_file> = config.config.<some>Map["DEFAULT]["directory_str"] > + /config/some_file. > > How can do the same in TG2.0 ? > > - Apart from this what are all the changes, precautions to made while > shifting from TG1.1 to TG2.0 ? > Is there any doc on that or some thing else helpful ? > > Thanks, > Gaurav Nanda > > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<turbogears%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. 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/turbogears?hl=en.

