don't export misc in locals

This commit is contained in:
Thomas NOËL 2011-08-03 12:08:45 +00:00
parent b3eff836a3
commit 8797f83429
1 changed files with 1 additions and 1 deletions

View File

@ -38,6 +38,7 @@ import locale
import linecache
import formatter
from StringIO import StringIO
import misc
try:
import elementtree.ElementTree as ET
@ -706,7 +707,6 @@ class QommonPublisher(Publisher):
return str.decode('utf-8').encode(self.site_charset)
def get_substitution_variables(self):
import misc
site_name = get_cfg('misc', {}).get('sitename', None)
site_theme = get_cfg('branding', {}).get('theme', self.default_theme)
today = strftime.strftime(misc.date_format(), time.localtime())