Mercurial > kallithea
comparison rhodecode/lib/celerylib/tasks.py @ 903:04c9bb9ca6d6 beta
code docs, updates
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 31 Dec 2010 19:58:43 +0100 |
parents | 25116ab9f0bc |
children | 3a7f5b1a19dd |
comparison
equal
deleted
inserted
replaced
902:07a6e8c65526 | 903:04c9bb9ca6d6 |
---|---|
1 # -*- coding: utf-8 -*- | |
2 """ | |
3 rhodecode.lib.celerylib.tasks | |
4 ~~~~~~~~~~~~~~ | |
5 | |
6 RhodeCode task modules, containing all task that suppose to be run | |
7 by celery daemon | |
8 | |
9 :created_on: Oct 6, 2010 | |
10 :author: marcink | |
11 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> | |
12 :license: GPLv3, see COPYING for more details. | |
13 """ | |
14 # This program is free software; you can redistribute it and/or | |
15 # modify it under the terms of the GNU General Public License | |
16 # as published by the Free Software Foundation; version 2 | |
17 # of the License or (at your opinion) any later version of the license. | |
18 # | |
19 # This program is distributed in the hope that it will be useful, | |
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
22 # GNU General Public License for more details. | |
23 # | |
24 # You should have received a copy of the GNU General Public License | |
25 # along with this program; if not, write to the Free Software | |
26 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
27 # MA 02110-1301, USA. | |
1 from celery.decorators import task | 28 from celery.decorators import task |
2 | 29 |
3 import os | 30 import os |
4 import traceback | 31 import traceback |
5 from time import mktime | 32 from time import mktime |