~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • Committer: Matt Nordhoff
  • Date: 2009-04-16 21:49:48 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20090416214948-y6aan4mamt55x0wd
Fix incorrect calls to config.get_option() (bug #361238)

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
            return Reloader.restart_with_reloader()
64
64
 
65
65
    if config.get_option('user_dirs'):
66
 
        if not config.get_option['trunk_dir']:
 
66
        if not config.get_option('trunk_dir'):
67
67
            print "You didn't specify a directory for the trunk directories."
68
68
            sys.exit(1)
69
69
        app = UserBranchesFromFileSystemRoot(
77
77
    logger = getattr(app, 'log', logging.getLogger('loggerhead'))
78
78
    if config.get_option('log_folder'):
79
79
        logfile_path = os.path.join(
80
 
            config.get_option['log_folder'], 'serve-branches.log')
 
80
            config.get_option('log_folder'), 'serve-branches.log')
81
81
    else:
82
82
        logfile_path = 'serve-branches.log'
83
83
    logfile = logging.FileHandler(logfile_path, 'a')