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
e9f62d83
Commit
e9f62d83
authored
Jun 11, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added additional check for DateTime objects
parent
adb9ceb7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
16 deletions
+25
-16
lib/python/Products/PluginIndexes/common/util.py
lib/python/Products/PluginIndexes/common/util.py
+25
-16
No files found.
lib/python/Products/PluginIndexes/common/util.py
View file @
e9f62d83
...
...
@@ -83,11 +83,12 @@
#
#############################################################################
__version__
=
'$Id: util.py,v 1.
4 2001/06/01 18:53:40
andreas Exp $'
__version__
=
'$Id: util.py,v 1.
5 2001/06/11 16:04:21
andreas Exp $'
import
re
from
types
import
StringType
,
ListType
,
TupleType
,
DictType
,
InstanceType
from
DateTime
import
DateTime
class
parseIndexRequest
:
"""
...
...
@@ -145,6 +146,14 @@ class parseIndexRequest:
keys
=
request
[
iid
]
if
type
(
keys
)
==
InstanceType
:
if
isinstance
(
keys
,
DateTime
):
"""query is a DateTime instance"""
self
.
keys
=
keys
else
:
""" query is of type record """
record
=
keys
...
...
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