diff options
Diffstat (limited to 'util/locale_database/dateconverter.py')
-rw-r--r-- | util/locale_database/dateconverter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/locale_database/dateconverter.py b/util/locale_database/dateconverter.py index 333f184f3c..b8caabc37f 100644 --- a/util/locale_database/dateconverter.py +++ b/util/locale_database/dateconverter.py @@ -60,7 +60,7 @@ def _convert_pattern(pattern): "v" : "t", "vv" : "t", "vvv" : "t", "vvvv" : "t", # timezone "V" : "t", "VV" : "t", "VVV" : "t", "VVVV" : "t" # timezone } - if qt_patterns.has_key(pattern): + if pattern in qt_patterns: return qt_patterns[pattern] for r,v in qt_regexps.items(): pattern = re.sub(r, v, pattern) |