From 2a1d1fcce85776451a54dbd6250ba26078bb524f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Jun 2009 23:47:33 +0000 Subject: Change configure.zcml of authorization to use forbidden. Ignores. --- .../tutorial/templates/mytemplate.pt.py | 110 --------------------- 1 file changed, 110 deletions(-) delete mode 100644 docs/tutorials/bfgwiki2/src/basiclayout/tutorial/templates/mytemplate.pt.py (limited to 'docs/tutorials/bfgwiki2/src/basiclayout') diff --git a/docs/tutorials/bfgwiki2/src/basiclayout/tutorial/templates/mytemplate.pt.py b/docs/tutorials/bfgwiki2/src/basiclayout/tutorial/templates/mytemplate.pt.py deleted file mode 100644 index 678ee58fe..000000000 --- a/docs/tutorials/bfgwiki2/src/basiclayout/tutorial/templates/mytemplate.pt.py +++ /dev/null @@ -1,110 +0,0 @@ -registry = dict(version='6.3') -def bind(): - from cPickle import loads as _loads - _init_stream = _loads('cchameleon.core.generation\ninitialize_stream\np1\n.') - _lookup_attr = _loads('cchameleon.core.codegen\nlookup_attr\np1\n.') - _init_scope = _loads('cchameleon.core.utils\necontext\np1\n.') - _re_amp = _loads("cre\n_compile\np1\n(S'&(?!([A-Za-z]+|#[0-9]+);)'\np2\nI0\ntRp3\n.") - _init_default = _loads('cchameleon.core.generation\ninitialize_default\np1\n.') - _lookup_name = _loads('cchameleon.core.codegen\nlookup_name\np1\n.') - _init_tal = _loads('cchameleon.core.generation\ninitialize_tal\np1\n.') - def render(econtext): - macros = econtext.get('macros') - _slots = econtext.get('_slots') - target_language = econtext.get('target_language') - u'_init_stream()' - (_out, _write) = _init_stream() - u'_init_tal()' - (_attributes, repeat) = _init_tal() - u'_init_default()' - _default = _init_default() - u'None' - default = None - u'None' - _domain = None - u'project' - _write(u'\n\n') - _tmp1 = econtext['project'] - _tmp = _tmp1 - if (_tmp.__class__ not in (str, unicode) and hasattr(_tmp, '__html__')): - _write(_tmp.__html__()) - elif _tmp is not None: - if not (isinstance(_tmp, unicode)): - _tmp = str(_tmp) - if '&' in _tmp: - if ';' in _tmp: - _tmp = _re_amp.sub('&', _tmp) - else: - _tmp = _tmp.replace('&', '&') - if '<' in _tmp: - _tmp = _tmp.replace('<', '<') - if '>' in _tmp: - _tmp = _tmp.replace('>', '>') - _write(_tmp) - _write(u' Application\n\n\n' in _tmp1: - _tmp1 = _tmp1.replace('>', '>') - if '"' in _tmp1: - _tmp1 = _tmp1.replace('"', '"') - _write((' href="' + _tmp1) + '"') - u'project' - _write(u' rel="stylesheet" type="text/css" />\n\n\n\n\n\n\n
\n \n
\n \n
\n
\n\t

Welcome to ') - _tmp1 = econtext['project'] - _tmp = _tmp1 - if (_tmp.__class__ not in (str, unicode) and hasattr(_tmp, '__html__')): - _write(_tmp.__html__()) - elif _tmp is not None: - if not (isinstance(_tmp, unicode)): - _tmp = str(_tmp) - if '&' in _tmp: - if ';' in _tmp: - _tmp = _re_amp.sub('&', _tmp) - else: - _tmp = _tmp.replace('&', '&') - if '<' in _tmp: - _tmp = _tmp.replace('<', '<') - if '>' in _tmp: - _tmp = _tmp.replace('>', '>') - _write(_tmp) - _write(u', an\n\tapplication generated by the repoze.bfg web\n\tapplication framework.

\n
\n
\n \n \n \n \n
 
\n
\n
\n\n\n\n\n\n') - return _out.getvalue() - return render - -registry[(None, True, '1488bdb950901f8f258549439ef6661a49aae984')] = bind() -- cgit v1.2.3