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
c820b88e
Commit
c820b88e
authored
Jul 11, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
max_gid must be always defined
parent
f8c39585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
product/ERP5SyncML/Document/SyncMLSubscription.py
product/ERP5SyncML/Document/SyncMLSubscription.py
+5
-5
No files found.
product/ERP5SyncML/Document/SyncMLSubscription.py
View file @
c820b88e
...
...
@@ -314,11 +314,11 @@ class SyncMLSubscription(XMLObject):
first_call = False
else:
min_gid = r[i]
try:
max_gid = r[i+packet_size]
except IndexError:
# Last packet
max_gid = r[-1]
try:
max_gid = r[i+packet_size]
except IndexError:
# Last packet
max_gid = r[-1]
callback_method(min_gid=min_gid,
max_gid=max_gid,
message_id=message_id_list.pop(),
...
...
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