From e11fd45a5dbde00d4699522bf1b629850dc4ae55 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Oct 2010 13:52:50 -0400 Subject: fix paster templates --- pyramid/fixers/fix_bfg_imports.py | 2 +- pyramid/includes/configure.zcml | 2 +- pyramid/includes/meta.zcml | 2 +- .../alchemy/+package+/configure.zcml | 4 ++-- .../paster_templates/alchemy/+package+/run.py_tmpl | 2 +- .../alchemy/+package+/templates/model.pt | 26 +++++++++++----------- .../alchemy/+package+/templates/root.pt | 26 +++++++++++----------- pyramid/paster_templates/alchemy/setup.py_tmpl | 6 ++--- .../routesalchemy/+package+/configure.zcml | 4 ++-- .../routesalchemy/+package+/run.py_tmpl | 2 +- .../+package+/templates/mytemplate.pt | 26 +++++++++++----------- .../routesalchemy/+package+/tests.py_tmpl | 4 ++-- .../paster_templates/routesalchemy/setup.py_tmpl | 6 ++--- .../starter/+package+/configure.zcml | 4 ++-- .../paster_templates/starter/+package+/run.py_tmpl | 2 +- .../starter/+package+/templates/mytemplate.pt | 26 +++++++++++----------- .../starter/+package+/tests.py_tmpl | 4 ++-- pyramid/paster_templates/starter/setup.py_tmpl | 6 ++--- .../paster_templates/zodb/+package+/configure.zcml | 4 ++-- .../paster_templates/zodb/+package+/run.py_tmpl | 2 +- .../zodb/+package+/templates/mytemplate.pt | 26 +++++++++++----------- .../paster_templates/zodb/+package+/tests.py_tmpl | 4 ++-- pyramid/paster_templates/zodb/setup.py_tmpl | 6 ++--- pyramid/tests/ccbugapp/configure.zcml | 2 +- pyramid/tests/exceptionviewapp/configure.zcml | 2 +- pyramid/tests/fixtureapp/another.zcml | 2 +- pyramid/tests/fixtureapp/configure.zcml | 2 +- .../tests/fixtureapp/subpackage/yetanother.zcml | 2 +- pyramid/tests/grokkedapp/configure.zcml | 2 +- pyramid/tests/hybridapp/configure.zcml | 2 +- pyramid/tests/restbugapp/configure.zcml | 2 +- pyramid/tests/routesapp/configure.zcml | 2 +- pyramid/tests/viewdecoratorapp/configure.zcml | 2 +- 33 files changed, 108 insertions(+), 108 deletions(-) diff --git a/pyramid/fixers/fix_bfg_imports.py b/pyramid/fixers/fix_bfg_imports.py index 6a30c7710..e53973469 100644 --- a/pyramid/fixers/fix_bfg_imports.py +++ b/pyramid/fixers/fix_bfg_imports.py @@ -182,7 +182,7 @@ def fix_zcml(path): absfile = os.path.join(root, file) text = open(absfile, 'rb').read() newt =INCLUDES.sub('include package="pyramid.includes"', text) - newt = NS.sub('xmlns="http://pyramid.pylonshq.com"', newt) + newt = NS.sub('xmlns="http://pylonshq.com/pyramid"', newt) if text != newt: newf = open(absfile, 'wb') newf.write(newt) diff --git a/pyramid/includes/configure.zcml b/pyramid/includes/configure.zcml index 6a373fa5d..8ddd56406 100644 --- a/pyramid/includes/configure.zcml +++ b/pyramid/includes/configure.zcml @@ -1,4 +1,4 @@ - + diff --git a/pyramid/includes/meta.zcml b/pyramid/includes/meta.zcml index 26a475ee3..bd16c3ea6 100644 --- a/pyramid/includes/meta.zcml +++ b/pyramid/includes/meta.zcml @@ -2,7 +2,7 @@ xmlns="http://namespaces.zope.org/zope" xmlns:meta="http://namespaces.zope.org/meta"> - + + - + ${project} Application - +