made pep8 tests pass
This commit is contained in:
parent
47b27033b4
commit
7e684e7089
|
@ -24,11 +24,12 @@ class Xvfb:
|
||||||
self.colordepth = colordepth
|
self.colordepth = colordepth
|
||||||
|
|
||||||
self.xvfb_cmd = [
|
self.xvfb_cmd = [
|
||||||
'-screen', '0', '%dx%dx%d' % (self.width, self.height, self.colordepth)
|
'-screen', '0', '%dx%dx%d' %
|
||||||
|
(self.width, self.height, self.colordepth)
|
||||||
]
|
]
|
||||||
|
|
||||||
for key, value in kwargs.items():
|
for key, value in kwargs.items():
|
||||||
self.xvfb_cmd = self.xvfb_cmd + ["-%s" % key, value]
|
self.xvfb_cmd = self.xvfb_cmd + ['-%s' % key, value]
|
||||||
|
|
||||||
self.proc = None
|
self.proc = None
|
||||||
if 'DISPLAY' in os.environ:
|
if 'DISPLAY' in os.environ:
|
||||||
|
|
Loading…
Reference in New Issue