Skip to content

Commit

Permalink
fix: remove unnecessary check for pre py3.8 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Apr 23, 2024
1 parent 9786a92 commit dec0b50
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/bugmon/bug.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
import logging
import platform
import re
import sys
from datetime import datetime
from typing import Any, Dict, List, NoReturn, Optional, Type, Union, cast
from typing import Any, Dict, List, NoReturn, Optional, Type, TypedDict, Union, cast

import requests
from autobisect import JSEvaluator
Expand All @@ -19,11 +18,6 @@

log = logging.getLogger(__name__)

if sys.version_info >= (3, 8):
from typing import TypedDict
else:
from typing_extensions import TypedDict

REV_MATCH = r"([a-f0-9]{12}|[a-f0-9]{40})"
BID_MATCH = r"([0-9]{8}-)([a-f0-9]{12})"

Expand Down

0 comments on commit dec0b50

Please sign in to comment.