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
Laurent S
erp5
Commits
0eaebb66
Commit
0eaebb66
authored
Mar 14, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless code
parent
36b4cf18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
product/ERP5SyncML/Document/SyncMLSubscription.py
product/ERP5SyncML/Document/SyncMLSubscription.py
+0
-24
No files found.
product/ERP5SyncML/Document/SyncMLSubscription.py
View file @
0eaebb66
...
...
@@ -690,16 +690,10 @@ class SyncMLSubscription(XMLObject):
if
not
more_data
:
pass
#self.removeRemainingObjectPath(object_path)
else
:
syncml_logger
.
info
(
"Splitting document"
)
break
else
:
# syncml_logger.info("Splitting package %s > %s - remains %s objects"
# % (loop, MAX_LEN,
# len(self.getProperty('remaining_object_path_list'))))
# if len(self.getProperty('remaining_object_path_list')):
# finished=False
syncml_logger
.
warning
(
"Package is going to be splitted"
)
break
loop
+=
1
...
...
@@ -939,24 +933,6 @@ class SyncMLSubscription(XMLObject):
conflict_list
.
extend
(
signature
.
getConflictList
())
return
conflict_list
# security.declareProtected(Permissions.ModifyPortalContent,
# 'removeRemainingObjectPath')
# def removeRemainingObjectPath(self, object_path):
# """
# We should now wich objects should still
# synchronize
# """
# remaining_object_list = self.getProperty('remaining_object_path_list')
# if remaining_object_list is None:
# # it is important to let remaining_object_path_list to None
# # it means it has not beeing initialised yet
# return
# new_list = list(remaining_object_list)
# # XXX why a while here ?
# while object_path in new_list:
# new_list.remove(object_path)
# self._edit(remaining_object_path_list=new_list)
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
'initialiseSynchronization'
)
def
initialiseSynchronization
(
self
):
...
...
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