changeset 6439:07644836640a

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.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Sat, 14 Jan 2017 21:42:30 +0100
parents 5edef8b14334
children 3c96eb1865e2
files kallithea/model/base.py
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/model/base.py	Thu Aug 25 21:22:27 2016 +0200
+++ b/kallithea/model/base.py	Sat Jan 14 21:42:30 2017 +0100
@@ -23,24 +23,6 @@
 :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
-
 """