Ticket #8491: 8491-r8468.diff

File 8491-r8468.diff, 642 bytes (added by jcassee, 7 years ago)
  • django/core/management/commands/compilemessages.py

     
    1212    basedirs = (os.path.join('conf', 'locale'), 'locale')
    1313    if os.environ.get('DJANGO_SETTINGS_MODULE'):
    1414        from django.conf import settings
    15         basedirs += settings.LOCALE_PATHS
     15        basedirs += tuple(settings.LOCALE_PATHS)
    1616
    1717    # Gather existing directories.
    1818    basedirs = set(map(os.path.abspath, filter(os.path.isdir, basedirs)))
Back to Top