Formatting: fix some missed `fmt`
Change-Id: I4ed156fa5a7aae702c5818c23886cb8830098a90
This commit is contained in:
parent
e56ad622c3
commit
b9c17f34dc
|
@ -97,8 +97,8 @@ class PKI:
|
||||||
f.write(data)
|
f.write(data)
|
||||||
|
|
||||||
return json.loads(
|
return json.loads(
|
||||||
subprocess.check_output(['cfssl'] + command, cwd=tmp,
|
subprocess.check_output(
|
||||||
stderr=subprocess.PIPE))
|
['cfssl'] + command, cwd=tmp, stderr=subprocess.PIPE))
|
||||||
|
|
||||||
def _openssl(self, command, *, files=None):
|
def _openssl(self, command, *, files=None):
|
||||||
if not files:
|
if not files:
|
||||||
|
@ -109,8 +109,8 @@ class PKI:
|
||||||
with open(os.path.join(tmp, filename), 'w') as f:
|
with open(os.path.join(tmp, filename), 'w') as f:
|
||||||
f.write(data)
|
f.write(data)
|
||||||
|
|
||||||
subprocess.check_call(['openssl'] + command, cwd=tmp,
|
subprocess.check_call(
|
||||||
stderr=subprocess.PIPE)
|
['openssl'] + command, cwd=tmp, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
result = {}
|
result = {}
|
||||||
for filename in os.listdir(tmp):
|
for filename in os.listdir(tmp):
|
||||||
|
|
Loading…
Reference in New Issue