comparison rhodecode/controllers/summary.py @ 1206:a671db5bdd58 beta

fixed license issue #149
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 04 Apr 2011 20:01:45 +0200
parents 6832ef664673
children 50e41777675d
comparison
equal deleted inserted replaced
1205:f4807acf643d 1206:a671db5bdd58
8 :created_on: Apr 18, 2010 8 :created_on: Apr 18, 2010
9 :author: marcink 9 :author: marcink
10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> 10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>
11 :license: GPLv3, see COPYING for more details. 11 :license: GPLv3, see COPYING for more details.
12 """ 12 """
13 # This program is free software; you can redistribute it and/or 13 # This program is free software: you can redistribute it and/or modify
14 # modify it under the terms of the GNU General Public License 14 # it under the terms of the GNU General Public License as published by
15 # as published by the Free Software Foundation; version 2 15 # the Free Software Foundation, either version 3 of the License, or
16 # of the License or (at your opinion) any later version of the license. 16 # (at your option) any later version.
17 # 17 #
18 # This program is distributed in the hope that it will be useful, 18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details. 21 # GNU General Public License for more details.
22 # 22 #
23 # You should have received a copy of the GNU General Public License 23 # You should have received a copy of the GNU General Public License
24 # along with this program; if not, write to the Free Software 24 # along with this program. If not, see <http://www.gnu.org/licenses/>.
25 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26 # MA 02110-1301, USA.
27 25
28 import calendar 26 import calendar
29 import logging 27 import logging
30 from time import mktime 28 from time import mktime
31 from datetime import datetime, timedelta, date 29 from datetime import datetime, timedelta, date