validate-launcher: main: fix various pyflakes / uncaught pep8 issues.

https://bugzilla.gnome.org/show_bug.cgi?id=739208
This commit is contained in:
Mathieu Duponchelle 2014-10-25 14:49:26 +02:00
parent 95065edebd
commit b30d27e35e

View file

@ -17,19 +17,17 @@
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA. # Boston, MA 02110-1301, USA.
import os import os
import sys
import utils import utils
import urlparse import urlparse
import loggable import loggable
import argparse import argparse
import textwrap
import reporters import reporters
import subprocess import subprocess
from httpserver import HTTPServer from httpserver import HTTPServer
from baseclasses import _TestsLauncher, ScenarioManager from baseclasses import _TestsLauncher, ScenarioManager
from utils import printc, path2url, DEFAULT_MAIN_DIR, DEFAULT_GST_QA_ASSETS, launch_command, Colors, Protocols from utils import printc, path2url, DEFAULT_MAIN_DIR, launch_command, Colors, Protocols
HELP = ''' HELP = '''
@ -187,8 +185,8 @@ class PrintUsage(argparse.Action):
def main(libsdir): def main(libsdir):
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
formatter_class=argparse.RawTextHelpFormatter, prog='gst-validate-launcher', formatter_class=argparse.RawTextHelpFormatter,
description=HELP) prog='gst-validate-launcher', description=HELP)
parser.add_argument("-d", "--debug", dest="debug", parser.add_argument("-d", "--debug", dest="debug",
action="store_true", action="store_true",
default=False, default=False,