Commit fc742e67 authored by Aurel's avatar Aurel

display warning only if id_list provided

parent c70793d7
......@@ -507,7 +507,7 @@ class SyncMLSubscription(XMLObject):
# on pub/sub instead
create_signature = alert_code != "refresh_from_client_only"
if not len(object_list):
if not len(object_list) and id_list:
syncml_logger.warning("No object retrieved althoud id_list (%s) is provided"
% (id_list))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment