Changeset 3317

Show
Ignore:
Timestamp:
07/19/07 11:44:12 (10 months ago)
Author:
chrisz
Message:

tg-admin toolbox did not run outside a project directory.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/turbogears/command/base.py

    r3294 r3317  
    298298            conf = turbogears.config.config_obj(configfile=self.config) 
    299299 
    300         turbogears.config.update({'global': conf['global']}) 
     300        if 'global' in conf: 
     301            turbogears.config.update({'global': conf['global']}) 
    301302 
    302303        root = SecureObject(toolbox.Toolbox(), from_any_host(self.hostlist),