Changeset - a76ab0130dbe
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2013-03-07 15:06:40
marcin@python-works.com
codecleaner
2 files changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/theme/nature/static/pygments.css
Show inline comments
 
@@ -42,13 +42,13 @@
 
.s2 { color: #bb8844 } /* Literal.String.Double */
 
.se { color: #bb8844 } /* Literal.String.Escape */
 
.sh { color: #bb8844 } /* Literal.String.Heredoc */
 
.si { color: #bb8844 } /* Literal.String.Interpol */
 
.sx { color: #bb8844 } /* Literal.String.Other */
 
.sr { color: #808000 } /* Literal.String.Regex */
 
.s1 { color: #bb8844 } /* Literal.String.Single */
 
.ss { color: #bb8844 } /* Literal.String.Symbol */
 
.bp { color: #999999 } /* Name.Builtin.Pseudo */
 
.vc { color: #ff99ff } /* Name.Variable.Class */
 
.vg { color: #ff99ff } /* Name.Variable.Global */
 
.vi { color: #ff99ff } /* Name.Variable.Instance */
 
.il { color: #009999 } /* Literal.Number.Integer.Long */
 
.il { color: #009999 } /* Literal.Number.Integer.Long */
 
\ No newline at end of file
rhodecode/lib/middleware/wrapper.py
Show inline comments
 
@@ -35,13 +35,12 @@ class RequestWrapper(object):
 
        self.config = config
 

	
 
    def __call__(self, environ, start_response):
 
        start = time.time()
 
        try:
 
            return self.application(environ, start_response)
 
        finally:
 
            log = logging.getLogger('rhodecode.' + self.__class__.__name__)
 
            log.info('IP: %s Request to %s time: %.3fs' % (
 
                _get_ip_addr(environ),
 
                safe_unicode(_get_access_path(environ)), time.time() - start)
 
            )
 

	
0 comments (0 inline, 0 general)