~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to serve-branches

  • Committer: Michael Hudson
  • Date: 2009-02-24 21:13:30 UTC
  • Revision ID: michael.hudson@canonical.com-20090224211330-4pkn8g30rtioqdoy
* make example Apache stanza more correct with how PasteDeploy works
  (you learn something every day!)
* make serve-branches more forgiving about the argument to --prefix

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        prefix = '/'
128
128
    else:
129
129
        prefix = options.user_prefix
 
130
        if not prefix.startswith('/'):
 
131
            prefix = '/' + prefix
130
132
 
131
133
    try:
132
134
        from paste.deploy.config import PrefixMiddleware