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
0152a2f8
Commit
0152a2f8
authored
Oct 05, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made sort work with methods.
parent
05b3d6a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lib/python/DocumentTemplate/DT_In.py
lib/python/DocumentTemplate/DT_In.py
+7
-2
No files found.
lib/python/DocumentTemplate/DT_In.py
View file @
0152a2f8
...
...
@@ -212,7 +212,7 @@
of the module 'Missing', if present.
'''
__rcs_id__
=
'$Id: DT_In.py,v 1.
6 1997/10/05 19:41:59
jim Exp $'
__rcs_id__
=
'$Id: DT_In.py,v 1.
7 1997/10/05 19:50:58
jim Exp $'
############################################################################
# Copyright
...
...
@@ -266,7 +266,7 @@ __rcs_id__='$Id: DT_In.py,v 1.6 1997/10/05 19:41:59 jim Exp $'
# (540) 371-6909
#
############################################################################
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
from
DT_Util
import
*
from
string
import
find
,
atoi
,
join
...
...
@@ -342,6 +342,8 @@ class In:
else: v=client
if mapping: v=v[sort]
else: v=getattr(v, sort)
try: v=v()
except: pass
s.append((v,client))
s.sort()
sequence=[]
...
...
@@ -770,6 +772,9 @@ class sequence_variables:
############################################################################
# $Log: DT_In.py,v $
# Revision 1.7 1997/10/05 19:50:58 jim
# Made sort work with methods.
#
# Revision 1.6 1997/10/05 19:41:59 jim
# Added sort option.
#
...
...
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