/opt/alt/python27/lib/python2.7/site-packages/alembic
Edit: /opt/alt/python27/lib/python2.7/site-packages/alembic/command.pyo (12697B)
Ñò
ŒM!Vc @ s d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d „ Z d d „ Z
d e e d
e d d d d d „ Z
d d d d „ Z e d d
„ Z e d d „ Z d „ Z d e d „ Z e e d „ Z e d „ Z e e d „ Z e d d „ Z d „ Z d S( iÿÿÿÿNi ( t ScriptDirectory( t EnvironmentContext( t util( t autogeneratec C s« | i d ƒ x} t i | i ƒ ƒ D]f } t t i i | i ƒ | d ƒ ƒ i i ƒ } z | ~ } t | ƒ } Wd QX| i d | | ƒ q# W| i d ƒ | i d ƒ d S( s List available templatess Available templates:
t READMENs %s - %ss1
Templates are used via the 'init' command, e.g.:s,
alembic init --template generic ./scripts(
t print_stdoutt ost listdirt get_template_directoryt opent patht joint __exit__t __enter__t next( t configt tempnamet _[1]t readmet synopsis( ( s@ /opt/alt/python27/lib/python2.7/site-packages/alembic/command.pyt list_templates s
#
t genericc
C sÉ t i | t i ƒ o t i d | ƒ ‚ n t i i | i ƒ | ƒ } t i | t i ƒ p t i d | ƒ ‚ n t i d t i i | ƒ t i
| ƒ t i i | d ƒ } t i d t i i | ƒ t i
| ƒ t | ƒ } xÏ t i | ƒ D]¾ } t i i | | ƒ } | d j oZ t i i | i
ƒ } t i | t i ƒ o t i d | ƒ q°| i | | d | ƒqò t i i | ƒ o) t i i | | ƒ } | i | | ƒ qò qò Wt i d | ƒ d S(
s# Initialize a new scripts directory.s Directory %s already existss No such template %rs Creating directory %st versionss alembic.ini.makos File %s already exists, skippingt script_locationsN Please edit configuration/connection/logging settings in %r before proceeding.N( R t accesst F_OKR t CommandErrorR
R R t statust abspatht makedirsR R t config_file_namet msgt _generate_templatet isfilet
_copy_file(
R t directoryt templatet template_dirR t scriptt file_t file_patht config_filet output_file( ( s@ /opt/alt/python27/lib/python2.7/site-packages/alembic/command.pyt init s<