Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
9ec06c8d
Commit
9ec06c8d
authored
Jul 11, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some logging
parent
486481ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5SyncML/Document/SyncMLSubscription.py
product/ERP5SyncML/Document/SyncMLSubscription.py
+3
-3
No files found.
product/ERP5SyncML/Document/SyncMLSubscription.py
View file @
9ec06c8d
...
...
@@ -136,8 +136,8 @@ class SyncMLSubscription(XMLObject):
r
=
[
str
(
x
.
path
)
for
x
in
r
]
if
not
limit
:
# We do not split in activity so call the callback right now
syncml_logger
.
info
(
"getAndIndex : got %d
, %r
result and no limit, calling callback..."
%
(
result_count
,
r
))
syncml_logger
.
info
(
"getAndIndex : got %d result and no limit, calling callback..."
%
(
result_count
,))
callback_method
=
getattr
(
self
,
callback
)
callback_method
(
path_list
=
r
[:],
activate_kw
=
activate_kw
,
...
...
@@ -295,7 +295,7 @@ class SyncMLSubscription(XMLObject):
next_kw = dict(activate_kw, priority=1+activate_kw.get('priority', 1))
kw["
strict_min_gid
"] = r[-1]
syncml_logger.info("
-->
calling
getAndActivate
in
activity
,
min
=
%
s
" %
(kw
["
min_gid
"]
,))
(kw
.get("
min_gid
", None)
,))
self.activate(**next_kw).getAndActivate(
callback, activate_kw, **kw)
generated_other_activity = True
...
...
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