Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
erp5
Commits
1cfeb9c3
Commit
1cfeb9c3
authored
Apr 16, 2022
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py3: Update Shared.DC.ZRDB.{sqltest,sqlvar} monkey patches.
parent
c6ed2568
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
product/ERP5Type/patches/sqltest.py
product/ERP5Type/patches/sqltest.py
+7
-0
product/ERP5Type/patches/sqlvar.py
product/ERP5Type/patches/sqlvar.py
+6
-0
No files found.
product/ERP5Type/patches/sqltest.py
View file @
1cfeb9c3
...
@@ -10,6 +10,13 @@
...
@@ -10,6 +10,13 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
try
:
from
Shared.DC.ZRDB.sqlvar
import
StringTypes
except
ImportError
:
# Products.ZSQLMethods < 3.0.8
import
six
StringTypes
=
six
.
string_types
+
(
six
.
binary_type
,)
from
Shared.DC.ZRDB.sqltest
import
*
from
Shared.DC.ZRDB.sqltest
import
*
from
Shared.DC.ZRDB
import
sqltest
from
Shared.DC.ZRDB
import
sqltest
from
DateTime
import
DateTime
from
DateTime
import
DateTime
...
...
product/ERP5Type/patches/sqlvar.py
View file @
1cfeb9c3
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
#
#
##############################################################################
##############################################################################
try
:
from
Shared.DC.ZRDB.sqlvar
import
StringTypes
except
ImportError
:
# Products.ZSQLMethods < 3.0.8
import
six
StringTypes
=
six
.
string_types
+
(
six
.
binary_type
,)
# dtml-sqlvar patch to convert None to NULL, and deal with DateTime
# dtml-sqlvar patch to convert None to NULL, and deal with DateTime
from
Shared.DC.ZRDB.sqlvar
import
*
from
Shared.DC.ZRDB.sqlvar
import
*
...
...
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