Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
09c3df37
Commit
09c3df37
authored
May 08, 2006
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up standard file header and set svn:keywords=Id. Just some cosmetics
parent
4e361162
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
21 deletions
+12
-21
lib/python/Products/PageTemplates/PathIterator.py
lib/python/Products/PageTemplates/PathIterator.py
+2
-4
lib/python/Products/PageTemplates/PythonExpr.py
lib/python/Products/PageTemplates/PythonExpr.py
+3
-5
lib/python/Products/PageTemplates/ZPythonExpr.py
lib/python/Products/PageTemplates/ZPythonExpr.py
+2
-4
lib/python/Products/PageTemplates/ZRPythonExpr.py
lib/python/Products/PageTemplates/ZRPythonExpr.py
+2
-4
lib/python/Products/PageTemplates/__init__.py
lib/python/Products/PageTemplates/__init__.py
+3
-4
No files found.
lib/python/Products/PageTemplates/PathIterator.py
View file @
09c3df37
...
...
@@ -10,15 +10,13 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Path Iterator
A TALES Iterator with the ability to use first() and last() on
subpaths of elements.
"""
__version__
=
'$Revision: 1.4 $'
[
11
:
-
2
]
$Id$
"""
import
TALES
from
Expressions
import
restrictedTraverse
,
Undefs
,
getSecurityManager
...
...
lib/python/Products/PageTemplates/PythonExpr.py
View file @
09c3df37
...
...
@@ -10,15 +10,13 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Generic Python Expression Handler
"""
__version__
=
'$Revision: 1.13 $'
[
11
:
-
2
]
$Id$
"""
from
TALES
import
CompilerError
from
sys
import
exc_info
from
DeferExpr
import
DeferWrapper
from
zope.tales.expressions
import
DeferWrapper
class
getSecurityManager
:
'''Null security manager'''
...
...
lib/python/Products/PageTemplates/ZPythonExpr.py
View file @
09c3df37
...
...
@@ -10,15 +10,13 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Old Zope-specific Python Expression Handler
Handler for Python expressions, using the pre-Python 2.1 restriction
machinery from PythonScripts.
"""
__version__
=
'$Revision: 1.8 $'
[
11
:
-
2
]
$Id$
"""
from
AccessControl
import
getSecurityManager
from
Products.PythonScripts.Guarded
import
_marker
,
\
GuardedBlock
,
theGuard
,
safebin
,
WriteGuard
,
ReadGuard
,
UntupleFunction
...
...
lib/python/Products/PageTemplates/ZRPythonExpr.py
View file @
09c3df37
...
...
@@ -10,14 +10,12 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Zope-specific Python Expression Handler
Handler for Python expressions that uses the RestrictedPython package.
"""
__version__
=
'$Revision: 1.11 $'
[
11
:
-
2
]
$Id$
"""
from
AccessControl
import
safe_builtins
from
AccessControl.ZopeGuards
import
guarded_getattr
,
get_safe_globals
from
RestrictedPython
import
compile_restricted_eval
...
...
lib/python/Products/PageTemplates/__init__.py
View file @
09c3df37
...
...
@@ -10,14 +10,13 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
'''
Package wrapper for Page Templates
"""
Package wrapper for Page Templates
This wrapper allows the Page Template modules to be segregated in a
separate package.
$Id$'''
__version__
=
'$$'
[
11
:
-
2
]
$Id$
"""
# Placeholder for Zope Product data
misc_
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment