##// END OF EJS Templates
templates: use safer way to extract user_agent from request....
templates: use safer way to extract user_agent from request. Several reports were that user_agent was None causing a 500 while rendering template

File last commit:

r1098:5d0049e7 default
r2094:5efe3020 default
Show More
setup.cfg
43 lines | 789 B | text/x-ini | IniLexer
[aliases]
test = pytest
[egg_info]
tag_build =
tag_svn_revision = false
# Babel configuration
[compile_catalog]
domain = rhodecode
directory = rhodecode/i18n
statistics = true
[extract_messages]
add_comments = TRANSLATORS:
output_file = rhodecode/i18n/rhodecode.pot
msgid-bugs-address = marcin@rhodecode.com
copyright-holder = RhodeCode GmbH
no-wrap = true
keywords =
lazy_ugettext
_ngettext
_gettext
gettext_translator
[init_catalog]
domain = rhodecode
input_file = rhodecode/i18n/rhodecode.pot
output_dir = rhodecode/i18n
[update_catalog]
domain = rhodecode
input_file = rhodecode/i18n/rhodecode.pot
output_dir = rhodecode/i18n
previous = true
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[upload_sphinx]
upload-dir = docs/_build/html