From 3562a313d34b22ba4d2cfbd42fde914489ca993f Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Thu, 9 Jun 2011 15:20:44 +0200 Subject: [PATCH] Add deprecation warning for next refactoring --- product/ERP5SyncML/Document/SyncMLSubscription.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5SyncML/Document/SyncMLSubscription.py b/product/ERP5SyncML/Document/SyncMLSubscription.py index 5a541645f5..9a75522a93 100644 --- a/product/ERP5SyncML/Document/SyncMLSubscription.py +++ b/product/ERP5SyncML/Document/SyncMLSubscription.py @@ -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) -- 2.30.9