~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • Committer: Matt Nordhoff
  • Date: 2009-05-06 17:39:55 UTC
  • mto: This revision was merged to the branch mainline in revision 341.
  • Revision ID: mnordhoff@mattnordhoff.com-20090506173955-303ot1m0d15bcglj
Some more

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
 
#
3
 
# Copyright (C) 2008, 2009 Canonical Ltd
4
 
#
5
2
# This program is free software; you can redistribute it and/or modify
6
3
# it under the terms of the GNU General Public License as published by
7
4
# the Free Software Foundation; either version 2 of the License, or
54
51
 
55
52
    load_plugins()
56
53
 
57
 
    if config.get_option('allow_writes'):
58
 
        transport = get_transport(path)
59
 
    else:
60
 
        transport = get_transport('readonly+' + path)
 
54
    transport = get_transport(path)
61
55
 
62
56
    if config.get_option('trunk_dir') and not config.get_option('user_dirs'):
63
57
        print "--trunk-dir is only valid with --user-dirs"