# HG changeset patch # User Thomas De Schampheleire # Date 2017-01-14 21:42:30 # Node ID 07644836640a7485887c30f2e878dec4bfd6e466 # Parent 5edef8b14334ad03e117a898002880846347b5ef model: remove docstring code example This type of code examples are not present in other files. It is unclear whether this example is still accurate. And it is equally unclear whether they provide real value compared to 'real' code. Remove it. diff --git a/kallithea/model/base.py b/kallithea/model/base.py --- a/kallithea/model/base.py +++ b/kallithea/model/base.py @@ -23,24 +23,6 @@ Original author and date, and relevant c :author: marcink :copyright: (c) 2013 RhodeCode GmbH, and others. :license: GPLv3, see LICENSE.md for more details. - - -:example: - - .. code-block:: python - - from paste.deploy import appconfig - from pylons import config - from sqlalchemy import engine_from_config - from kallithea.config.environment import load_environment - - conf = appconfig('config:development.ini', relative_to = './../../') - load_environment(conf.global_conf, conf.local_conf) - - engine = engine_from_config(config, 'sqlalchemy.') - init_model(engine) - # RUN YOUR CODE HERE - """