[Checkins] SVN: zc.form/trunk/src/zc/form/browser/tzwidget.py hm. continuing a really bad idea. this needs to be fixed so that the timezone security declarations (a) are done in an actual reasonable place (maybe even Zope "core" someplace?) and (b) are not done on import. This is a hack that should not have lived long. :-(

Gary Poster gary at zope.com
Thu Jan 11 15:04:04 EST 2007


Log message for revision 71931:
  hm.  continuing a really bad idea.  this needs to be fixed so that the timezone security declarations (a) are done in an actual reasonable place (maybe even Zope "core" someplace?) and (b) are not done on import.  This is a hack that should not have lived long. :-(
  

Changed:
  U   zc.form/trunk/src/zc/form/browser/tzwidget.py

-=-
Modified: zc.form/trunk/src/zc/form/browser/tzwidget.py
===================================================================
--- zc.form/trunk/src/zc/form/browser/tzwidget.py	2007-01-11 19:57:51 UTC (rev 71930)
+++ zc.form/trunk/src/zc/form/browser/tzwidget.py	2007-01-11 20:04:03 UTC (rev 71931)
@@ -33,6 +33,7 @@
 from zope.interface.common.idatetime import ITZInfo
 names = set(ITZInfo.names(all=True))
 names.add('zone')
+names.add('localize')
 checker = NamesChecker(names)
 pytz.UTC.__Security_checker__ = checker
 pytz.tzinfo.BaseTzInfo.__Security_checker__ = checker



More information about the Checkins mailing list