Commit fd7da901 authored by EKbfh's avatar EKbfh 🐼
Browse files

Fix flake2

parent db37daa7
......@@ -13,11 +13,10 @@ import sys
from argparse import ArgumentParser
# Tower modules
from tower.models.db import db
from tower.models.pulllog import PullLog
from tower.models.environment import Environment # noqa
os.chdir(os.path.join(os.path.dirname(sys.argv[0]), ".."))
from tower.models.environment import Environment # noqa
def main():
......@@ -38,7 +37,6 @@ def main():
help="Generate tower.yml",
)
args = parser.parse_args()
try:
env = Environment.get(Environment.name == args.env)
......
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