]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Fix flake8 E265 violation in multidb env.py template
authorPeter Marsh <pete.d.marsh@gmail.com>
Sun, 24 Sep 2017 15:35:20 +0000 (16:35 +0100)
committerPeter Marsh <pete.d.marsh@gmail.com>
Sun, 24 Sep 2017 15:39:30 +0000 (16:39 +0100)
flake8 detected the following violation in env.py for multidb
projects:

    multidb/env.py:34:1: E265 block comment should start with '# '
    #}
    ^

This fixes the violation in the template, so fresh multidb projects
will no longer have this violation.

alembic/templates/multidb/env.py

index 453b41cc0a6984e8a281c38c09363e1624a1da86..db24173f993037a9c9cd39a53dbcc6139b208911 100644 (file)
@@ -31,7 +31,7 @@ db_names = config.get_main_option('databases')
 # target_metadata = {
 #       'engine1':mymodel.metadata1,
 #       'engine2':mymodel.metadata2
-#}
+# }
 target_metadata = {}
 
 # other values from the config, defined by the needs of env.py,