Changeset 4506 for MILK


Ignore:
Timestamp:
27/11/08 17:06:56 (11 years ago)
Author:
cbyrom
Message:

Force atom validator to specify a db config file on construction + tidy up how some particular errors are formatted and retrieved.

File:
1 edited

Legend:

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

    r4504 r4506  
    6565        self.globals.pwFile = cf.get('NDG_EXIST','passwordFile') 
    6666        # set up the validator for atoms - to allow re-use across the app 
    67         self.globals.validator = AtomValidator(None, dbConfigFile = self.globals.pwFile, \ 
     67        self.globals.validator = AtomValidator(None, self.globals.pwFile, \ 
    6868                                       raiseException = True, newLineChar="<br/>") 
    6969 
Note: See TracChangeset for help on using the changeset viewer.