Changeset 4183 for exist/trunk


Ignore:
Timestamp:
08/09/08 10:08:58 (11 years ago)
Author:
cbyrom
Message:

Fine tune handling of properties object handled by ndgObject + add extra
logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/ndgObject.py

    r4175 r4183  
    7676 
    7777         
    78     def setConfig(self,config): 
     78    def setConfig(self, config): 
    7979        '''  
    8080        Set up the configuration for retrieving this document  
     
    9797        # set default return format - if not set, just return in original format 
    9898        fmt='' 
    99         if self.config.config.has_option('DISCOVERY','formatDefault'): 
    100             fmt=self.config.config.get('DISCOVERY','formatDefault') 
     99        if self.config.has_option('DISCOVERY','formatDefault'): 
     100            fmt=self.config.get('DISCOVERY','formatDefault') 
    101101            logging.info("Default discovery format set to: %s" %fmt) 
    102102             
     
    111111        # - if not, default to 'unknown' 
    112112        servicehost = 'unknown' 
    113         if self.config.config.has_option('NDG_B_SERVICE',self.repository): 
     113        if self.config.has_option('NDG_B_SERVICE',self.repository): 
    114114            servicehost=self.config.get('NDG_B_SERVICE',self.repository) 
    115115             
Note: See TracChangeset for help on using the changeset viewer.