Mercurial > templog
diff web/config.py @ 87:81b8c84344c4
- log more details
- less silly way to load localconfig
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 12 Jul 2012 23:44:20 +0800 |
parents | ccce79dcb316 |
children | 51d889ad39a3 |
line wrap: on
line diff
--- a/web/config.py Wed Jul 11 23:43:36 2012 +0800 +++ b/web/config.py Thu Jul 12 23:44:20 2012 +0800 @@ -35,10 +35,6 @@ GRAPH_LEFT_MARGIN = 63 try: - import localconfig - g = globals() - for k in dir(localconfig): - if k in g: - g[k] = localconfig.__dict__[k] + from localconfig import * except ImportError: pass