Skip to content

Commit 0a2539f

Browse files
committed
Cleanup
1 parent d296ec5 commit 0a2539f

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

cmdstanpy/model.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,10 @@ def src_info(self) -> Dict[str, Any]:
283283
self.stan_file,
284284
]
285285
)
286-
out = subprocess.run(
287-
cmd,
288-
capture_output=True,
289-
text=True,
290-
check=True,
291-
).stdout
292-
result = json.loads(out)
286+
proc = subprocess.run(
287+
cmd, capture_output=True, text=True, check=True
288+
)
289+
result = json.loads(proc.stdout)
293290
return result
294291
except (
295292
ValueError,

0 commit comments

Comments
 (0)