Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 425

Show
Ignore:
Timestamp:
07/07/05 14:29:15
Author:
mikerobi
Message:

config.update: fixed default overide value, fixed newlines in covercp.py

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/config.py

    r423 r425  
    6363reset() 
    6464 
    65 def update(updateMap=None, file=None, override = False): 
     65def update(updateMap=None, file=None, override = True): 
    6666    """ Update the configMap from a dictionary or a config file. 
    6767        If override is True then the update will not modify 
     
    7676                section = 'global' 
    7777            sectionMap = configMap.setdefault(section, {}) 
    78             if not override: 
     78            if override: 
    7979                sectionMap.update(valueMap) 
    8080            else: 

Hosted by WebFaction

Log in as guest/cpguest to create tickets