Commit c27467d0 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

fix pep8

parent bf1b2587
......@@ -4,6 +4,7 @@ import yaml
# Tower modules
from tower.models.environment import Environment
def migrate(migrator):
for env in Environment.select():
config = yaml.load(env.service_config)
......@@ -12,4 +13,3 @@ def migrate(migrator):
config[None]["login"]["session_ttl"] = str(config[None]["login"]["session_ttl"]) + "d"
env.service_config = yaml.dump(config)
env.save()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment