Commits

Marcin Kuzminski committed 3e0b98f

templates pep8 E302 2 blank lines between functions

  • Participants
  • Parent commits 90429b2

Comments (0)

Files changed (3)

alembic/templates/generic/script.py.mako

 def upgrade():
     ${upgrades if upgrades else "pass"}
 
+
 def downgrade():
     ${downgrades if downgrades else "pass"}

alembic/templates/multidb/script.py.mako

 def upgrade(engine):
     eval("upgrade_%s" % engine.name)()
 
+
 def downgrade(engine):
     eval("upgrade_%s" % engine.name)()
 
 def upgrade_${engine}():
     ${context.get("%s_upgrades" % engine, "pass")}
 
+
 def downgrade_${engine}():
     ${context.get("%s_downgrades" % engine, "pass")}
 

alembic/templates/pylons/script.py.mako

 def upgrade():
     ${upgrades if upgrades else "pass"}
 
+
 def downgrade():
     ${downgrades if downgrades else "pass"}