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
11a8e217
Commit
11a8e217
authored
Mar 10, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed miss-spelling of newline_to_br
parent
06f9d665
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/DocumentTemplate/DT_Var.py
lib/python/DocumentTemplate/DT_Var.py
+6
-3
No files found.
lib/python/DocumentTemplate/DT_Var.py
View file @
11a8e217
...
...
@@ -106,7 +106,7 @@ __doc__='''Variable insertion parameters
'"blah blah blah blah"', then the tag
'<!--#var spam size=10-->' inserts '"blah blah ..."'.
'''
# '
__rcs_id__
=
'$Id: DT_Var.py,v 1.
9 1998/01/12 16:47:34
jim Exp $'
__rcs_id__
=
'$Id: DT_Var.py,v 1.
10 1998/03/10 20:32:32
jim Exp $'
############################################################################
# Copyright
...
...
@@ -160,7 +160,7 @@ __rcs_id__='$Id: DT_Var.py,v 1.9 1998/01/12 16:47:34 jim Exp $'
# (540) 371-6909
#
############################################################################
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
DT_Util
import
*
...
...
@@ -175,7 +175,7 @@ class Var:
capitalize
=
1
,
spacify
=
1
,
null
=
''
,
fmt
=
's'
,
size
=
0
,
etc
=
'...'
,
thousands_commas
=
1
,
html_quote
=
1
,
url_quote
=
1
,
sql_quote
=
1
,
newline_to_br
eak
=
1
)
newline_to_br
=
1
)
self
.
args
=
args
self
.
modifiers
=
tuple
(
...
...
@@ -343,6 +343,9 @@ modifiers=map(lambda f: (f.__name__, f), modifiers)
############################################################################
# $Log: DT_Var.py,v $
# Revision 1.10 1998/03/10 20:32:32 jim
# Fixed miss-spelling of newline_to_br
#
# Revision 1.9 1998/01/12 16:47:34 jim
# Changed a number of custom formats to modifiers, since they can
# be applies cumulatively.
...
...
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