summaryrefslogtreecommitdiff
path: root/repoze/bfg/path.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-11 22:43:27 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-11 22:43:27 +0000
commitb0a24149ffc4dd3b945b496e5cdb01111c8cf29a (patch)
treeda0d31fa9c46eb4e990c0df3dd116e8fa38dcd5c /repoze/bfg/path.py
parentd69635eb6237055e8b3ccedeeaa7114a7beed057 (diff)
downloadpyramid-b0a24149ffc4dd3b945b496e5cdb01111c8cf29a.tar.gz
pyramid-b0a24149ffc4dd3b945b496e5cdb01111c8cf29a.tar.bz2
pyramid-b0a24149ffc4dd3b945b496e5cdb01111c8cf29a.zip
- Improve test coverage.
- Remove old cold which attempts to recover from trying to unpickle a ``z3c.pt`` template; Chameleon has been the templating engine for a good long time now. Running repoze.bfg against a sandbox that has pickled ``z3c.pt`` templates it will now just fail with an unpickling error, but can be fixed by deleting the template cache files.
Diffstat (limited to 'repoze/bfg/path.py')
-rw-r--r--repoze/bfg/path.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/repoze/bfg/path.py b/repoze/bfg/path.py
index 68fa4ede4..fcd317fba 100644
--- a/repoze/bfg/path.py
+++ b/repoze/bfg/path.py
@@ -9,7 +9,6 @@ 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__))