~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to src/dispatch_handler.py

  • Committer: mattgiuca
  • Date: 2007-12-17 04:19:18 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:70
apps: Added app "debuginfo" which prints out IVLE system properties.
    Added warning in dispatch/html.py if debuginfo is active.
dispatch_handler: Now writes a variable conf.ivlepath to the place IVLE is
    located.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        if handlerpath not in sys.path:
45
45
            sys.path.append(handlerpath)
46
46
        import dispatch
 
47
        import conf
 
48
        conf.ivlepath = handlerpath
47
49
        return dispatch.handler(req)
48
50
    except KeyError:
49
51
        # Note: "Internal Server Error" if "ivle.handlerpath" is not set