Skip to content

Commit

Permalink
{Core} Remove uuid workaround code (#29706)
Browse files Browse the repository at this point in the history
  • Loading branch information
bebound authored Sep 12, 2024
1 parent a84d470 commit 02ff96f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/azure-cli/azure/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
start_time = timeit.default_timer()

import sys
import uuid

from azure.cli.core import telemetry
from azure.cli.core import get_default_cli
Expand All @@ -21,14 +20,6 @@
__version__ = "2.64.0"


# A workaround for https://bugs.python.org/issue32502 (https://github.com/Azure/azure-cli/issues/5184)
# If uuid1 raises ValueError, use uuid4 instead.
try:
uuid.uuid1()
except ValueError:
uuid.uuid1 = uuid.uuid4


logger = get_logger(__name__)


Expand Down

0 comments on commit 02ff96f

Please sign in to comment.