~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • Committer: Matt Nordhoff
  • Date: 2009-04-17 00:14:16 UTC
  • mto: This revision was merged to the branch mainline in revision 330.
  • Revision ID: mnordhoff@mattnordhoff.com-20090417001416-f4okpyr2xu0o52pr
Pass serve-branches's config object to BranchesFromFileSystemServer instead of creating new ones.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
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
 
        app = UserBranchesFromFileSystemRoot(
70
 
            path, config.get_option('trunk_dir'))
 
69
        app = UserBranchesFromFileSystemRoot(path, config)
71
70
    else:
72
 
        app = BranchesFromFileSystemRoot(path)
 
71
        app = BranchesFromFileSystemRoot(path, config)
73
72
 
74
73
    # setup_logging()
75
74
    logging.basicConfig()