Ticket #3955: bugfix_for_r6349.2.diff

File bugfix_for_r6349.2.diff, 1.1 KB (added by Wang Chun <wangchun@…>, 17 years ago)

bugfix for r6349

  • django/bin/compile-messages.py

     
    1414    basedirs = [os.path.join('conf', 'locale'), 'locale']
    1515    if os.environ.get('DJANGO_SETTINGS_MODULE'):
    1616        from django.conf import settings
    17         basedirs += settings.LOCALE_PATHS
     17        try:
     18            basedirs += settings.LOCALE_PATHS
     19        except:
     20            pass
    1821
    1922    # Gather existing directories.
    2023    basedirs = set(map(os.path.abspath, filter(os.path.isdir, basedirs)))
  • AUTHORS

     
    311311    Vlado <vlado@labath.org>
    312312    Milton Waddams
    313313    wam-djangobug@wamber.net
    314     wangchun <yaohua2000@gmail.com>
     314    Wang Chun <wangchun@exoweb.net>
    315315    Filip Wasilewski <filip.wasilewski@gmail.com>
    316316    Dan Watson <http://theidioteque.net/>
    317317    Chris Wesseling <Chris.Wesseling@cwi.nl>
Back to Top