Skip to content

_rev_file regex is too strict #72

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by eevee (@eevee)

From alembic/script.py:

_rev_file = re.compile(r'([a-z0-9A-Z]+)(?:_.*)?\.py$')

I originally tried defining my scripts to look like 20120916-abcdef-do_something.py, but this regex quietly ignored them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions