run the code formatter over all
This commit is contained in:
@@ -152,7 +152,14 @@ class FeatureDetector(object):
|
||||
# prevent X11 programs from opening windows if called from a GUI shell
|
||||
env.pop("DISPLAY", None)
|
||||
try:
|
||||
process = subprocess.Popen(cmd, stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, cwd=tmp_dir, env=env)
|
||||
process = subprocess.Popen(
|
||||
cmd,
|
||||
stdin=subprocess.DEVNULL,
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL,
|
||||
cwd=tmp_dir,
|
||||
env=env,
|
||||
)
|
||||
rc = process.wait()
|
||||
if expected_result is None:
|
||||
return rc != 32512
|
||||
@@ -214,7 +221,6 @@ class FeatureDetector(object):
|
||||
"""
|
||||
return self.command_is_runnable("perseustest -h")
|
||||
|
||||
|
||||
def has_digiham(self):
|
||||
"""
|
||||
To use digital voice modes, the digiham package is required. You can find the package and installation
|
||||
@@ -547,4 +553,4 @@ class FeatureDetector(object):
|
||||
|
||||
You can find more information [here](https://github.com/jketterl/eb200_connector).
|
||||
"""
|
||||
return self._check_connector("eb200_connector")
|
||||
return self._check_connector("eb200_connector")
|
||||
|
||||
Reference in New Issue
Block a user