Refactored config a bit

This commit is contained in:
Armin Ronacher 2010-05-03 11:28:21 +02:00
parent 0ab7a9cb67
commit 63cb27afb8
3 changed files with 14 additions and 13 deletions

View file

@ -23,13 +23,8 @@ from subprocess import Popen
from flask import json
from werkzeug import Headers, parse_date
INCOMING_MAIL_FOLDER = '_mailinglist/incoming'
THREAD_FOLDER = '_mailinglist/threads'
LIST_NAME = 'flask'
RSYNC_PATH = 'librelist.com::json/%s'
SUBJECT_PREFIX = '[flask]'
from websiteconfig import INCOMING_MAIL_FOLDER, THREAD_FOLDER, \
LIST_NAME, RSYNC_PATH, SUBJECT_PREFIX
_punctuation_re = re.compile(r'[\t !"#$%&\'()*\-/<=>?@\[\\\]^_`{|},.:]+')