##// 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:

r1:854a839a default
r2094:5efe3020 default
Show More
__init__.py
6 lines | 279 B | text/x-python | PythonLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from rhodecode.lib.dbmigrate.migrate.versioning.script.base import BaseScript
from rhodecode.lib.dbmigrate.migrate.versioning.script.py import PythonScript
from rhodecode.lib.dbmigrate.migrate.versioning.script.sql import SqlScript