Skip to content

Commit

Permalink
Version 3.15rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Oct 25, 2023
1 parent 1832b0c commit da0c604
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webchanges/storage.py
Expand Up @@ -20,7 +20,6 @@
from dataclasses import dataclass
from datetime import datetime
from pathlib import Path
from types import NoneType
from typing import Any, Dict, Iterable, Iterator, List, Literal, NamedTuple, Optional, TextIO, Tuple, TypedDict, Union

import msgpack
Expand All @@ -33,6 +32,11 @@
from webchanges.reporters import ReporterBase
from webchanges.util import edit_file, file_ownership_checks

try:
from types import NoneType
except ImportError: # Python 3.9
NoneType = type(None) # type: ignore[misc,assignment]

try:
import redis
except ImportError as e:
Expand Down

0 comments on commit da0c604

Please sign in to comment.