From f67bff41a1aca2b20383742334f3ed955f46a3f5 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 17 Mar 2015 18:59:38 -0400 Subject: [PATCH] Fix pep8 issues This commit fixes a couple of issues from running flake8 for the first time. Mostly minor whitespace fixes, but we'll need this for when we move this repo over into openstack's ci system. --- os_testr/os_testr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os_testr/os_testr.py b/os_testr/os_testr.py index d77f902..9bd8914 100755 --- a/os_testr/os_testr.py +++ b/os_testr/os_testr.py @@ -16,7 +16,6 @@ import copy import os import subprocess -import sys import argparse @@ -106,6 +105,7 @@ def call_subunit_run(test_id, pretty): return_code = proc.returncode return return_code + def call_testtools_run(test_id): cmd = ['python', '-m', 'testtools.run', test_id] env = copy.deepcopy(os.environ) @@ -114,6 +114,7 @@ def call_testtools_run(test_id): return_code = proc.returncode return return_code + def main(): opts = parse_args() if opts.pretty and opts.subunit: