mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
validate-launcher: main: fix various pyflakes / uncaught pep8 issues.
https://bugzilla.gnome.org/show_bug.cgi?id=739208
This commit is contained in:
parent
95065edebd
commit
b30d27e35e
1 changed files with 18 additions and 20 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue