summaryrefslogtreecommitdiff
path: root/repoze/bfg/path.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-08-29 03:21:27 +0000
committerChris McDonough <chrism@agendaless.com>2008-08-29 03:21:27 +0000
commitc750baac5bc6ceacdf5f58ce290324413c6c82b6 (patch)
treeb5bc53074c7e0b7fa5f105e285a7fe0e678a2373 /repoze/bfg/path.py
parent6acc73eb70fa5e15f517eefdf0370a5078e7decc (diff)
downloadpyramid-c750baac5bc6ceacdf5f58ce290324413c6c82b6.tar.gz
pyramid-c750baac5bc6ceacdf5f58ce290324413c6c82b6.tar.bz2
pyramid-c750baac5bc6ceacdf5f58ce290324413c6c82b6.zip
model_path and *backwards incompatible change* removing "make_app" and "get_options" from __init__.py of repoze.bfg; use repoze.bfg.router:make_app and repoze.bfg.registry:get_options instead.
Diffstat (limited to 'repoze/bfg/path.py')
-rw-r--r--repoze/bfg/path.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/repoze/bfg/path.py b/repoze/bfg/path.py
index fcd317fba..68fa4ede4 100644
--- a/repoze/bfg/path.py
+++ b/repoze/bfg/path.py
@@ -9,6 +9,7 @@ def caller_path(path, level=2):
prefix = package_path(package)
path = os.path.join(prefix, path)
return path
+ return os.path.normpath(path)
def package_path(package):
return os.path.abspath(os.path.dirname(package.__file__))