diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-24 16:33:34 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-24 16:33:34 -0500 |
commit | dfcfc872319acbadbf95ee75f555be0fd7ca8e6f (patch) | |
tree | e574f2929c91f5733592a46a4996d896a324397c /alembic/script.py | |
parent | 14d05f4b062c1cd237447f66467e234ee30ab3f7 (diff) | |
download | alembic-dfcfc872319acbadbf95ee75f555be0fd7ca8e6f.tar.gz |
documentation updates for 0.2
Diffstat (limited to 'alembic/script.py')
-rw-r--r-- | alembic/script.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/alembic/script.py b/alembic/script.py index bde12d0..cd2764b 100644 --- a/alembic/script.py +++ b/alembic/script.py @@ -117,10 +117,6 @@ class ScriptDirectory(object): in the migration environment. It is called exclusively by the command functions in :mod:`alembic.command`. - As ``env.py`` runs :func:`.context.configure_connection`, - the connection environment should be set up first. This - is typically achieved using the :func:`.context.opts`. - """ util.load_python_file(self.dir, 'env.py') @@ -155,7 +151,7 @@ class ScriptDirectory(object): return map_ def _rev_path(self, rev_id, message): - slug = "_".join(_slug_re.findall(message or "")[0:20]) + slug = "_".join(_slug_re.findall(message or "")[0:20]).lower() filename = "%s.py" % ( self.file_template % {'rev':rev_id, 'slug':slug} ) |