Changeset 14158


Ignore:
Timestamp:
04/27/12 16:20:48 (12 years ago)
Author:
ramonb
Message:

sara_cmt/settings.py:

  • removed redundant import
  • fixed typo in CMT_TEMPLATES_DIR
  • fixed typo in error msg
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/sara_cmt/settings.py

    r14157 r14158  
    3838        gethostbyname_ex( DATABASE_HOST )
    3939except socket.gaierror, details:
    40         print 'Unable to resolv database host: %s' %DATABASE_HOST
     40        print 'Unable to resolve database host: %s' %DATABASE_HOST
    4141        print 'Exiting.'
    4242        sys.exit(1)
     
    173173#TODO: think about a (better) way to make this dynamic:
    174174#TODO: get this out of the settings.py, since it should be in the client config
    175 import site
    176 CMT_TEMPLATES_DIR = '%s/etc/templates' % site.sys.prefix
     175CMT_TEMPLATES_DIR = '%s/etc/cmt/templates' % site.sys.prefix
    177176
    178177# Templates for the CMT web-frontend.
Note: See TracChangeset for help on using the changeset viewer.