From 1b02b32d9a62b6679257b888607cdbf1683eac4a Mon Sep 17 00:00:00 2001 From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Mon, 31 May 2021 16:20:29 +0800 Subject: [PATCH] {CI} Unpin azdev (#18300) --- .azure-pipelines/templates/azdev_setup.yml | 2 +- src/azure-cli/azure/cli/command_modules/resource/_win_vt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/templates/azdev_setup.yml b/.azure-pipelines/templates/azdev_setup.yml index b0c04247d96..c9a532ca364 100644 --- a/.azure-pipelines/templates/azdev_setup.yml +++ b/.azure-pipelines/templates/azdev_setup.yml @@ -13,7 +13,7 @@ steps: chmod +x env/bin/activate . env/bin/activate python -m pip install -U pip - pip install azdev==0.1.32 + pip install azdev azdev --version if [ -z "$CLI_EXT_REPO_PATH" ]; then diff --git a/src/azure-cli/azure/cli/command_modules/resource/_win_vt.py b/src/azure-cli/azure/cli/command_modules/resource/_win_vt.py index a88feb9f038..3a09a20cbd9 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_win_vt.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_win_vt.py @@ -47,7 +47,7 @@ def _set_conout_mode(mode): def _update_conout_mode(mode): old_mode = _get_conout_mode() if old_mode & mode != mode: - mode = old_mode | mode + mode = old_mode | mode # pylint: disable=unsupported-binary-operation _set_conout_mode(mode)