summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views/message.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-17 19:08:41 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-17 19:08:41 +0200
commitcb68f4a15d31d42f657f7065af60d7556e0eaf59 (patch)
treedbe286225bd993424ed09e7e241f3e2c50ef3caf /hyperkitty/views/message.py
parentdd833b1bce1c4de7161fb7534e263d87a0ac147a (diff)
downloadhyperkitty-cb68f4a15d31d42f657f7065af60d7556e0eaf59.tar.gz
hyperkitty-cb68f4a15d31d42f657f7065af60d7556e0eaf59.tar.xz
hyperkitty-cb68f4a15d31d42f657f7065af60d7556e0eaf59.zip
Use Python's standard logging system
Diffstat (limited to 'hyperkitty/views/message.py')
-rw-r--r--hyperkitty/views/message.py23
1 files changed, 20 insertions, 3 deletions
diff --git a/hyperkitty/views/message.py b/hyperkitty/views/message.py
index dd80709..18aab87 100644
--- a/hyperkitty/views/message.py
+++ b/hyperkitty/views/message.py
@@ -1,7 +1,26 @@
+#-*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+
import re
import os
-import django.utils.simplejson as simplejson
+import django.utils.simplejson as simplejson
from django.http import HttpResponse, HttpResponseRedirect
from django.template import RequestContext, loader
from django.conf import settings
@@ -11,10 +30,8 @@ from django.contrib.auth.decorators import (login_required,
user_passes_test)
from hyperkitty.models import Rating
-#from hyperkitty.lib.mockup import *
from hyperkitty.lib import get_store
from forms import *
-from hyperkitty.utils import log
def index (request, mlist_fqdn, hashid):