# HG changeset patch # User jruigrok # Date 1250945625 0 # Node ID 9549bb80a5a7d462e511fc70c6bc3b9872eb3f9a # Parent a3ddb13ff2a67f348e93f310fe967e1d4231dcab Current CDLR has implemented the full type specifiers on the dateTimeFormats, as a result you cannot call None on the dictionary anymore since it's no longer a key for it. diff --git a/babel/core.py b/babel/core.py --- a/babel/core.py +++ b/babel/core.py @@ -598,9 +598,9 @@ datetime_formats = property(datetime_formats, doc="""\ Locale patterns for datetime formatting. - >>> Locale('en').datetime_formats[None] + >>> Locale('en').datetime_formats['full'] u'{1} {0}' - >>> Locale('th').datetime_formats[None] + >>> Locale('th').datetime_formats['medium'] u'{1}, {0}' :type: `dict`