Mercurial > kallithea
comparison rhodecode/lib/celerylib/tasks.py @ 1217:a3b2b4b4e440
fixes for issue #149
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 05 Apr 2011 18:04:06 +0200 |
parents | af6ca51fb80f |
children | cc4251628675 |
comparison
equal
deleted
inserted
replaced
1216:8363b0d20c41 | 1217:a3b2b4b4e440 |
---|---|
9 :created_on: Oct 6, 2010 | 9 :created_on: Oct 6, 2010 |
10 :author: marcink | 10 :author: marcink |
11 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> | 11 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> |
12 :license: GPLv3, see COPYING for more details. | 12 :license: GPLv3, see COPYING for more details. |
13 """ | 13 """ |
14 # This program is free software; you can redistribute it and/or | 14 # This program is free software: you can redistribute it and/or modify |
15 # modify it under the terms of the GNU General Public License | 15 # it under the terms of the GNU General Public License as published by |
16 # as published by the Free Software Foundation; version 2 | 16 # the Free Software Foundation, either version 3 of the License, or |
17 # of the License or (at your opinion) any later version of the license. | 17 # (at your option) any later version. |
18 # | 18 # |
19 # This program is distributed in the hope that it will be useful, | 19 # This program is distributed in the hope that it will be useful, |
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 20 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 # GNU General Public License for more details. | 22 # GNU General Public License for more details. |
23 # | 23 # |
24 # You should have received a copy of the GNU General Public License | 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 | 25 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
26 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
27 # MA 02110-1301, USA. | |
28 from celery.decorators import task | 26 from celery.decorators import task |
29 | 27 |
30 import os | 28 import os |
31 import traceback | 29 import traceback |
32 import logging | 30 import logging |