Skip to content

Commit 8d92bae

Browse files
author
Richard Jones
committed
update comment
1 parent 3841725 commit 8d92bae

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

roundup/cgi/PageTemplates/Expressions.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@
1212
##############################################################################
1313
# Modified for Roundup:
1414
#
15-
# 1. Removed all Zope-specific code (doesn't even try to import that stuff now)
16-
# 2. Removed all Acquisition
15+
# 1. removed all Zope-specific code (doesn't even try to import that stuff now)
16+
# 2. removed all Acquisition
17+
# 3. removed blocking of leading-underscore URL components
1718

1819
"""Page Template Expression Engine
1920
2021
Page Template-specific implementation of TALES, with handlers
2122
for Python expressions, string literals, and paths.
2223
"""
2324

24-
__version__='$Revision: 1.11 $'[11:-2]
25+
__version__='$Revision: 1.12 $'[11:-2]
2526

2627
import re, sys
2728
from TALES import Engine, CompilerError, _valid_name, NAME_RE, \

roundup/cgi/PageTemplates/TALES.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
# Modified for Roundup:
1414
#
1515
# 1. changed imports to import from roundup.cgi
16-
# 2. implemented ustr as str
16+
# 2. implemented ustr as str (removes import from DocumentTemplate)
17+
# 3. removed import and use of Unauthorized from zExceptions
1718
"""TALES
1819
1920
An implementation of a generic TALES engine
2021
"""
2122

22-
__version__='$Revision: 1.8 $'[11:-2]
23+
__version__='$Revision: 1.9 $'[11:-2]
2324

2425
import re, sys
2526
from roundup.cgi import ZTUtils

0 commit comments

Comments
 (0)