From 8f6ded6569c7393559005d49ceb0eb15701992b5 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 21 Nov 2009 21:45:06 +0000 Subject: Name. --- repoze/bfg/zcml.py | 4 ++-- 1 file 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( -- cgit v1.2.3