Skip to content

Commit 107be16

Browse files
Change emoji skin tone to make Powershell output work
1 parent 5642a6e commit 107be16

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

shared/python/infrastructures.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ def _cleanup_resources_parallel(resources: list[dict], thread_prefix: str = '',
12481248
def log_info(msg):
12491249
if use_thread_safe_printing:
12501250
with _print_lock:
1251-
_print_log(f"{thread_prefix}{msg}", '👉🏽 ', thread_color)
1251+
_print_log(f"{thread_prefix}{msg}", '👉 ', thread_color)
12521252
else:
12531253
print_info(msg)
12541254

@@ -1494,13 +1494,13 @@ def _cleanup_resources_thread_safe(deployment_name: str, rg_name: str, thread_pr
14941494
"""
14951495
try:
14961496
with _print_lock:
1497-
_print_log(f"{thread_prefix}Starting cleanup for resource group: {rg_name}", '👉🏽 ', thread_color)
1497+
_print_log(f"{thread_prefix}Starting cleanup for resource group: {rg_name}", '👉 ', thread_color)
14981498

14991499
# Create a modified version of _cleanup_resources that uses thread-safe printing
15001500
_cleanup_resources_with_thread_safe_printing(deployment_name, rg_name, thread_prefix, thread_color)
15011501

15021502
with _print_lock:
1503-
_print_log(f"{thread_prefix}Completed cleanup for resource group: {rg_name}", '👉🏽 ', thread_color)
1503+
_print_log(f"{thread_prefix}Completed cleanup for resource group: {rg_name}", '👉 ', thread_color)
15041504

15051505
return True, ""
15061506

@@ -1531,7 +1531,7 @@ def _cleanup_resources_with_thread_safe_printing(deployment_name: str, rg_name:
15311531

15321532
try:
15331533
with _print_lock:
1534-
_print_log(f"{thread_prefix}Resource group : {rg_name}", '👉🏽 ', thread_color)
1534+
_print_log(f"{thread_prefix}Resource group : {rg_name}", '👉 ', thread_color)
15351535

15361536
# Show the deployment details
15371537
output = az.run(
@@ -1596,13 +1596,13 @@ def _cleanup_resources_with_thread_safe_printing(deployment_name: str, rg_name:
15961596
with _print_lock:
15971597
_print_log(
15981598
f"{thread_prefix}Found {len(resources_to_cleanup)} resource(s) to clean up. Processing in parallel...",
1599-
'👉🏽 ',
1599+
'👉 ',
16001600
thread_color
16011601
)
16021602
_cleanup_resources_parallel_thread_safe(resources_to_cleanup, thread_prefix, thread_color)
16031603
else:
16041604
with _print_lock:
1605-
_print_log(f"{thread_prefix}No resources found to clean up.", '👉🏽 ', thread_color)
1605+
_print_log(f"{thread_prefix}No resources found to clean up.", '👉 ', thread_color)
16061606

16071607
# Delete the resource group last
16081608
rg_delete_attempted = True

0 commit comments

Comments
 (0)