~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • Committer: Paul Hummer
  • Date: 2008-10-28 14:04:48 UTC
  • mto: This revision was merged to the branch mainline in revision 239.
  • Revision ID: paul@ubuntu.com-20081028140448-qo9s3sc68ny02qbg
Implemented CProfileMiddleware

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    app = HTTPExceptionHandler(app)
121
121
    app = TransLogger(app, logger=logger)
122
122
    if options.profile:
123
 
        from paste.debug.profile import ProfileMiddleware
124
 
        app = ProfileMiddleware(app)
 
123
        from loggerhead.middleware.profile import CProfileMiddleware
 
124
        app = CProfileMiddleware(app)
125
125
 
126
126
    if not options.user_prefix:
127
127
        prefix = '/'