#60 Auto generate __init__.py file in context if missing

closed-accepted
nobody
WebKit (45)
5
2006-07-08
2003-06-30
Jose Galvez
No

If a user creats a new context but forgets to add the
__init__.py file the context will fail to load. This
modification autogenerates the file for you before trying
to load the context. The addContext function in the
Application.py file has been modified to first check for
the presence of the init file and creat it if it is not there
proir to trying to load the context

Jose

Discussion

  • Jose Galvez
    Jose Galvez
    2003-06-30

    modified application.py file

     
    Attachments
    • status: open --> closed-accepted
     
  • Logged In: YES
    user_id=193957

    Has now been implemented similarly in the SVN trunk; this
    will go to Webware 0.9.2.