Refactor HTTP related operations

This commit is contained in:
Ivan Kravets committed 2020-08-22 17:48:49 +03:00
1 parent aa186382a8
commit d92c1d3442
29 files changed
+206 -233

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ from os.path import isfile
import click
from platformio import app, exception, fs, proc, util
from platformio import app, exception, fs, proc
from platformio.commands.debug import helpers
from platformio.commands.debug.exception import DebugInvalidOptionsError
from platformio.package.manager.core import inject_contrib_pysite
@@ -130,7 +130,7 @@ def cli(ctx, project_dir, project_conf, environment, verbose, interface, __unpro
nl=False,
)
stream = helpers.GDBMIConsoleStream()
with util.capture_std_streams(stream):
with proc.capture_std_streams(stream):
helpers.predebug_project(ctx, project_dir, env_name, preload, verbose)
stream.close()
else: