Mercurial > kallithea
comparison rhodecode/model/__init__.py @ 1217:a3b2b4b4e440
fixes for issue #149
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 05 Apr 2011 18:04:06 +0200 |
parents | bb35ad076e2f |
children | bf263968da47 |
comparison
equal
deleted
inserted
replaced
1216:8363b0d20c41 | 1217:a3b2b4b4e440 |
---|---|
26 engine = engine_from_config(config, 'sqlalchemy.') | 26 engine = engine_from_config(config, 'sqlalchemy.') |
27 init_model(engine) | 27 init_model(engine) |
28 # RUN YOUR CODE HERE | 28 # RUN YOUR CODE HERE |
29 | 29 |
30 """ | 30 """ |
31 # This program is free software; you can redistribute it and/or | 31 # This program is free software: you can redistribute it and/or modify |
32 # modify it under the terms of the GNU General Public License | 32 # it under the terms of the GNU General Public License as published by |
33 # as published by the Free Software Foundation; version 2 | 33 # the Free Software Foundation, either version 3 of the License, or |
34 # of the License or (at your opinion) any later version of the license. | 34 # (at your option) any later version. |
35 # | 35 # |
36 # This program is distributed in the hope that it will be useful, | 36 # This program is distributed in the hope that it will be useful, |
37 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 37 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
38 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 38 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
39 # GNU General Public License for more details. | 39 # GNU General Public License for more details. |
40 # | 40 # |
41 # You should have received a copy of the GNU General Public License | 41 # You should have received a copy of the GNU General Public License |
42 # along with this program; if not, write to the Free Software | 42 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
43 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | |
44 # MA 02110-1301, USA. | |
45 | 43 |
46 import logging | 44 import logging |
47 from rhodecode.model import meta | 45 from rhodecode.model import meta |
48 log = logging.getLogger(__name__) | 46 log = logging.getLogger(__name__) |
49 | 47 |