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
Paul Graydon
erp5
Commits
0c99630e
Commit
0c99630e
authored
Aug 07, 2023
by
Emmy Vouriot
Committed by
Jérome Perrin
Apr 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix integer division because incompatible type WIP
parent
87b3b526
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_dms/TestTemplateItem/portal_components/test.erp5.testDms.py
...s/TestTemplateItem/portal_components/test.erp5.testDms.py
+1
-1
No files found.
bt5/erp5_dms/TestTemplateItem/portal_components/test.erp5.testDms.py
View file @
0c99630e
...
@@ -1973,7 +1973,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph
...
@@ -1973,7 +1973,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph
tested_list
=
[]
tested_list
=
[]
frame_list
=
list
(
range
(
pages_number
))
frame_list
=
list
(
range
(
pages_number
))
# assume that ZServer is configured with 4 Threads
# assume that ZServer is configured with 4 Threads
conversion_per_tread
=
pages_number
/
4
conversion_per_tread
=
pages_number
/
/
4
while
frame_list
:
while
frame_list
:
local_frame_list
=
[
frame_list
.
pop
()
for
i
in
\
local_frame_list
=
[
frame_list
.
pop
()
for
i
in
\
range
(
min
(
conversion_per_tread
,
len
(
frame_list
)))]
range
(
min
(
conversion_per_tread
,
len
(
frame_list
)))]
...
...
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