Changeset 5208 for MILK


Ignore:
Timestamp:
21/04/09 14:56:22 (10 years ago)
Author:
cbyrom
Message:

Add additional check in atom validator, when dealing with broken links

  • these may refer to docs in the 'working' state, which aren't

available via browse - hence the broken link. For these, allow the
use of an alternative MILK server.

File:
1 edited

Legend:

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

    r5201 r5208  
    7878        localDbHostName = cf.get('NDG_EXIST','local') 
    7979        # set up the validator for atoms - to allow re-use across the app 
    80         self.globals.validator = AtomValidator(None,  
     80        self.globals.validator = AtomValidator(None, 
     81                                               localMILKServer = self.globals.server,  
    8182                                               dbConfigFile = self.globals.pwFile,  
    8283                                               dbHostName = localDbHostName, 
Note: See TracChangeset for help on using the changeset viewer.