Mercurial > templog
comparison web/config.py @ 390:c0ffbfaac1c7
fix localconfig import
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 11 Jul 2012 23:38:36 +0800 |
parents | 5e3880342390 |
children | 81b8c84344c4 |
comparison
equal
deleted
inserted
replaced
389:5e3880342390 | 390:c0ffbfaac1c7 |
---|---|
35 GRAPH_LEFT_MARGIN = 63 | 35 GRAPH_LEFT_MARGIN = 63 |
36 | 36 |
37 try: | 37 try: |
38 import localconfig | 38 import localconfig |
39 g = globals() | 39 g = globals() |
40 for k in dir(other): | 40 for k in dir(localconfig): |
41 if k in g: | 41 if k in g: |
42 g[k] = other.__dict__[k] | 42 g[k] = localconfig.__dict__[k] |
43 except ImportError: | 43 except ImportError: |
44 pass | 44 pass |