Changeset 13

Show
Ignore:
Timestamp:
05/17/06 14:53:47 (7 years ago)
Author:
mk
Message:

Fixed handling of different package names in config module.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mk/cheesecake/config.py

    r11 r13  
    6666            sys.path.insert(0, cheesecake_dir) 
    6767            try: 
    68                 from my_config import my_config 
     68                my_config = __import__('%s_config' % package, globals(), locals()).my_config 
    6969                _config.update(my_config) 
    7070            except ImportError, e: