[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/registry.py added TTL for deprecated behaviour of determining the version from `version.txt`

Andreas Zeidler az at zitc.de
Wed Mar 5 04:33:15 EST 2008


Log message for revision 84478:
  added TTL for deprecated behaviour of determining the version from `version.txt`

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/registry.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/registry.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/registry.py	2008-03-05 09:25:36 UTC (rev 84477)
+++ Products.GenericSetup/trunk/Products/GenericSetup/registry.py	2008-03-05 09:33:15 UTC (rev 84478)
@@ -738,8 +738,9 @@
                         version = fhandle.read().strip()
                         fhandle.close()
                         warn('Version for profile %s taken from version.txt. '
-                             'This is deprecated behaviour: please specify the '
-                             'version in metadata.xml.' % profile_id,
+                             'This is deprecated behaviour and will be '
+                             'removed in GenericSetup 1.5: please specify '
+                             'the version in metadata.xml.' % profile_id,
                              DeprecationWarning)
                         break
                     except IOError:



More information about the Checkins mailing list