diff babel/localedata.py @ 235:d0cd235ede46

Upgraded to CLDR 1.5 and improved timezone formatting.
author cmlenz
date Wed, 01 Aug 2007 12:32:20 +0000
parents d3bde66ac8a9
children 841858d5b567
line wrap: on
line diff
--- a/babel/localedata.py
+++ b/babel/localedata.py
@@ -115,7 +115,7 @@
     :param dict2: the dictionary containing the data that should be merged
     """
     for key, value in dict2.items():
-        if value:
+        if value is not None:
             if type(value) is dict:
                 dict1[key] = dict1.get(key, {}).copy()
                 merge(dict1[key], value)
Copyright (C) 2012-2017 Edgewall Software