~flormayer/loggerhead/path

« back to all changes in this revision

Viewing changes to loggerhead/apps/config.py

  • Committer: Florian Mayer
  • Date: 2008-07-02 19:40:08 UTC
  • Revision ID: flormayer@aim.com-20080702194008-c511bjvs7ndpxzc0
Replaced posixpath with os.path to provide cross-platform compatibility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
import logging
8
8
import os
9
 
import posixpath
 
9
import os.path
10
10
 
11
11
import bzrlib.lru_cache
12
12
 
83
83
            return url
84
84
        url = self._config.get('url_prefix', None)
85
85
        if url is not None:
86
 
            return posixpath.join(url, folder) + '/'
 
86
            return os.path.join(url, folder) + '/'
87
87
        return None
88
88
 
89
89
    def _get_description(self, view, view_config, history):