Changeset - 07644836640a
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 9 years ago 2017-01-14 21:42:30
thomas.de.schampheleire@gmail.com
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.
1 file changed with 0 insertions and 18 deletions:
0 comments (0 inline, 0 general)
kallithea/model/base.py
Show inline comments
 
@@ -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
 

	
 
"""
 

	
 

	
0 comments (0 inline, 0 general)