summaryrefslogtreecommitdiff
path: root/repoze/bfg/url.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-24 20:49:16 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-24 20:49:16 +0000
commit13c923f6eaf56a49897af75e14c1f70d1b26c75b (patch)
treec78bfdd395b7c3f676b462122d0a15709052ed98 /repoze/bfg/url.py
parent84630d3576dc7a6d6c66fdf191bc377402eef743 (diff)
downloadpyramid-13c923f6eaf56a49897af75e14c1f70d1b26c75b.tar.gz
pyramid-13c923f6eaf56a49897af75e14c1f70d1b26c75b.tar.bz2
pyramid-13c923f6eaf56a49897af75e14c1f70d1b26c75b.zip
Docs updates.
Diffstat (limited to 'repoze/bfg/url.py')
-rw-r--r--repoze/bfg/url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/url.py b/repoze/bfg/url.py
index 51e1b109e..d94cd429c 100644
--- a/repoze/bfg/url.py
+++ b/repoze/bfg/url.py
@@ -267,7 +267,7 @@ def static_url(path, request, **kw):
# if it's not a package:relative/name and it's not an
# /absolute/path it's a relative/path; this means its relative
# to the package in which the caller's module is defined.
- package = caller_package(level=2)
+ package = caller_package()
path = '%s:%s' % (package.__name__, path)
try: