Skip to content

Commit 570b52c

Browse files
committed
refactor: renamed variables
1 parent e11a799 commit 570b52c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fortls/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def debug_lsp(args, settings):
7373
"debug_actions": debug_actions,
7474
}
7575

76-
prb, pwb = os.pipe()
77-
with os.fdopen(prb, "rb") as tmpin, os.fdopen(pwb, "wb") as tmpout:
76+
r, w = os.pipe()
77+
with os.fdopen(r, "rb") as buffer_in, os.fdopen(w, "wb") as buffer_out:
7878
server = LangServer(
79-
conn=JSONRPC2Connection(ReadWriter(tmpin, tmpout)),
79+
conn=JSONRPC2Connection(ReadWriter(buffer_in, buffer_out)),
8080
settings=settings,
8181
)
8282
for flag, function in debug_functions.items():

0 commit comments

Comments
 (0)