comparison 0.9.x/scripts/import_cldr.py @ 511:4f39b6e38540 stable

Also fix import_cldr on Python 2.3
author fschwarz
date Fri, 04 Mar 2011 14:25:59 +0000
parents 40735021c908
children f29b2dadd9fc
comparison
equal deleted inserted replaced
510:4c473bedd528 511:4f39b6e38540
26 # Make sure we're using Babel source, and not some previously installed version 26 # Make sure we're using Babel source, and not some previously installed version
27 sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), '..')) 27 sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), '..'))
28 28
29 from babel import dates, numbers 29 from babel import dates, numbers
30 from babel.localedata import Alias 30 from babel.localedata import Alias
31 from babel.util import set
31 32
32 weekdays = {'mon': 0, 'tue': 1, 'wed': 2, 'thu': 3, 'fri': 4, 'sat': 5, 33 weekdays = {'mon': 0, 'tue': 1, 'wed': 2, 'thu': 3, 'fri': 4, 'sat': 5,
33 'sun': 6} 34 'sun': 6}
34 35
35 try: 36 try:
Copyright (C) 2012-2017 Edgewall Software