Commit 3562a313 authored by Nicolas Delaby's avatar Nicolas Delaby

Add deprecation warning for next refactoring

parent 1f756875
......@@ -273,6 +273,7 @@ class SyncMLSubscription(XMLObject):
"""
This tries to generate a new Id
"""
warn('Only container is allowed to compute new ID', DeprecationWarning)
id_generator = self.getSynchronizationIdGeneratorMethodId()
if id_generator is not None:
o_base = aq_base(object)
......
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