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
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
Sebastian
erp5
Commits
be1773d5
Commit
be1773d5
authored
Oct 17, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrongly defined variable & limit when creating activity
parent
8e7afa30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5SyncML/Document/SyncMLSubscription.py
product/ERP5SyncML/Document/SyncMLSubscription.py
+2
-2
No files found.
product/ERP5SyncML/Document/SyncMLSubscription.py
View file @
be1773d5
...
...
@@ -119,7 +119,7 @@ class SyncMLSubscription(XMLObject):
# We index everything at once
limit
=
None
packet_size
=
None
search_kw
=
None
search_kw
=
{}
try
:
r
=
self
.
getDocumentIdList
(
limit
=
limit
,
**
search_kw
)
# It is assumed that
# the result is sorted
...
...
@@ -340,7 +340,7 @@ class SyncMLSubscription(XMLObject):
max_gid=r[i+packet_size-1],
message_id=message_id_list.pop(),
activate_kw=activate_kw)
final_min = i +
packet_size - 1
final_min = i +
packet_size
else:
final_min = 0
# Final activity must be tell there is no upper limit
...
...
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