diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-28 19:13:07 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-28 19:13:07 +0000 |
| commit | a468e74f6044788097ac9b72f7232ff4e47fe91c (patch) | |
| tree | 49b3b3ab8602ccf63007ba15aad43cb9c6e068c9 /repoze | |
| parent | 7aab75b12be823ad3e63cbbc6d378ed3535f618f (diff) | |
| download | pyramid-a468e74f6044788097ac9b72f7232ff4e47fe91c.tar.gz pyramid-a468e74f6044788097ac9b72f7232ff4e47fe91c.tar.bz2 pyramid-a468e74f6044788097ac9b72f7232ff4e47fe91c.zip | |
More windows friendliness.
Diffstat (limited to 'repoze')
| -rw-r--r-- | repoze/bfg/zcml.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py index f412e1c4e..7e3130a7d 100644 --- a/repoze/bfg/zcml.py +++ b/repoze/bfg/zcml.py @@ -773,6 +773,7 @@ def path_spec(context, path): pp = package_path(package) + os.path.sep if abspath.startswith(pp): relpath = abspath[len(pp):] - return '%s:%s' % (package.__name__, relpath) + return '%s:%s' % (package.__name__, + relpath.replace(os.path.sep, '/')) return abspath |
