%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/alembic/templates/pylons/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/alembic/templates/pylons/env.pyo

�
�M!Vc@s�dZddlmZddlmZddlmZddlmZyddl	m
ZedWn?ej
Z
e
jd�Z
ee
�ed	e
d
d�ZnXedej
d
�jjZdZd�Zd�Zej�r�e�ne�dS(s|Pylons bootstrap environment.

Place 'pylons_config_file' into alembic.ini, and the application will
be loaded from there.

i����(tcontext(tloadapp(t
fileConfig(tEngine(tconfigt__file__tpylons_config_files	config:%strelative_tot.s
%s.model.metaspylons.packagecCsCtjdtjjdtdt�tj��tj�WdQXdS(sFRun migrations in 'offline' mode.

    This configures the context with just a URL
    and not an Engine, though an Engine is acceptable
    here as well.  By skipping the Engine creation
    we don't even need a DBAPI to be available.

    Calls to context.execute() here emit the given string to the
    script output.

    turlttarget_metadatat
literal_bindsN(	Rt	configuretmetatengineR	R
tTruetbegin_transactiontrun_migrations(((sM/opt/alt/python27/lib/python2.7/site-packages/alembic/templates/pylons/env.pytrun_migrations_offline$s
	
c	CsXtd��tj��:}tjd|dt�tj��tj�WdQXWdQXdS(s�Run migrations in 'online' mode.

    In this scenario we need to create an Engine
    and associate a connection with the context.

    s'Please specify engine connectivity heret
connectionR
N(tNotImplementedErrorRtconnectRRR
RR(R((sM/opt/alt/python27/lib/python2.7/site-packages/alembic/templates/pylons/env.pytrun_migrations_online7s		
N(t__doc__talembicRtpaste.deployRtlogging.configRtsqlalchemy.engine.baseRtpylonsRt
pylons_configtget_main_optiontconfig_filetwsgi_appt
__import__tmodelR
tNoneR
RRtis_offline_mode(((sM/opt/alt/python27/lib/python2.7/site-packages/alembic/templates/pylons/env.pyt<module>s&	
		


Zerion Mini Shell 1.0