[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/develop] Log template directory setting after assignment.



commit b6be171230a2ca6916830d05c41184f29cab466e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Tue Jan 28 16:57:36 2014 +0000

    Log template directory setting after assignment.
---
 lib/bridgedb/HTTPServer.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index dca2800..ad69e1b 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -40,6 +40,8 @@ from mako.lookup import TemplateLookup
 from zope.interface import Interface, Attribute, implements
 
 template_root = os.path.join(os.path.dirname(__file__),'templates')
+logging.debug("Set template root to %s" % template_root)
+
 rtl_langs = ('ar', 'he', 'fa', 'gu_IN', 'ku')
 
 # Setting `filesystem_checks` to False is recommended for production servers,
@@ -54,7 +56,6 @@ lookup = TemplateLookup(directories=[template_root],
                         filesystem_checks=False,
                         collection_size=500)
 
-logging.debug("Set template root to %s" % template_root)
 
 try:
     # Make sure we have the database before trying to import the module:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits