From cb68f4a15d31d42f657f7065af60d7556e0eaf59 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 17 Sep 2012 19:08:41 +0200 Subject: Use Python's standard logging system --- hyperkitty/views/thread.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'hyperkitty/views/thread.py') diff --git a/hyperkitty/views/thread.py b/hyperkitty/views/thread.py index b5bf80a..cef8b58 100644 --- a/hyperkitty/views/thread.py +++ b/hyperkitty/views/thread.py @@ -1,3 +1,22 @@ +# -*- 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 . +# + import datetime import django.utils.simplejson as simplejson @@ -13,11 +32,9 @@ from django.contrib.auth.decorators import (login_required, from hyperkitty.models import Rating, Tag #from hyperkitty.lib.mockup import * from forms import * -from hyperkitty.utils import log from hyperkitty.lib import get_months, get_store - def thread_index (request, mlist_fqdn, threadid): ''' Displays all the email for a given thread identifier ''' list_name = mlist_fqdn.split('@')[0] -- cgit