diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-21 21:45:06 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-21 21:45:06 +0000 |
| commit | 8f6ded6569c7393559005d49ceb0eb15701992b5 (patch) | |
| tree | e3b04ada22bf0b49e8c44dd490674e2dc46c1a33 | |
| parent | d8a97c91e41041536c52910dc6f641fe49e5283f (diff) | |
| download | pyramid-8f6ded6569c7393559005d49ceb0eb15701992b5.tar.gz pyramid-8f6ded6569c7393559005d49ceb0eb15701992b5.tar.bz2 pyramid-8f6ded6569c7393559005d49ceb0eb15701992b5.zip | |
Name.
| -rw-r--r-- | repoze/bfg/zcml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py index 77ac4c8fa..2359c86dc 100644 --- a/repoze/bfg/zcml.py +++ b/repoze/bfg/zcml.py @@ -478,14 +478,14 @@ class IStaticDirective(Interface): def static(_context, name, path, cache_max_age=3600): """ Handle ``static`` ZCML directives """ - abspath = _context.path(path) + path = _context.path(path) reg = get_current_registry() config = Configurator(reg) _context.action( discriminator = ('route', name, False, None, None, None, None, None), callable=config.static, - args = (name, abspath, cache_max_age, _context.info), + args = (name, path, cache_max_age, _context.info), ) _context.action( |
