Changeset 4485 for MILK


Ignore:
Timestamp:
24/11/08 17:11:04 (11 years ago)
Author:
cbyrom
Message:

Rename of middleware class.

Location:
MILK/trunk/milk_server/milk_server/config
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/config/middleware.py

    r4467 r4485  
    1313from milk_server.config.environment import load_environment 
    1414 
    15 from milk_server.config.ndgMiddleware import ndgMiddleware 
     15from milk_server.config.milkMiddleware import milkMiddleware 
    1616 
    1717# Logging doesn't need configuring if you have paste.translogger in your config file. 
     
    4343    # Put your own middleware here, so that any problems are caught by the error 
    4444    # handling middleware underneath 
    45     app = ndgMiddleware(app, g, app_conf) 
     45    app = milkMiddleware(app, g, app_conf) 
    4646    g=app.globals    
    4747     
  • MILK/trunk/milk_server/milk_server/config/milkMiddleware.py

    r4482 r4485  
    1 # ndg middleware 
     1''' 
     2Class defining the config params for the milk server 
     3''' 
    24from paste.deploy import CONFIG 
    3 from milk_server.lib.Utilities import myConfig 
    4  
     5from ndgUtils.models.myconfig import myConfig 
    56 
    67class NDGConfigError(Exception):   
    78    '''Errors related to reading from ndg config file''' 
    89      
    9 class ndgMiddleware: 
     10class milkMiddleware: 
    1011     
    1112    def __init__(self, app, g, app_conf): 
Note: See TracChangeset for help on using the changeset viewer.