minor formatting

This commit is contained in:
Corey Goldberg 2016-01-02 20:04:04 -05:00
parent 5e838a5965
commit 214835c739
1 changed files with 2 additions and 4 deletions

View File

@ -91,7 +91,5 @@ class Xvfb:
def _xvfb_exists(self):
"""Check that Xvfb is in PATH and is executable."""
return any(
os.access(os.path.join(path, 'Xvfb'), os.X_OK)
for path in os.environ['PATH'].split(os.pathsep)
)
if any(os.access(os.path.join(path, 'Xvfb'), os.X_OK)
for path in os.environ['PATH'].split(os.pathsep))