Skip to content

Commit

Permalink
Utilize nullcontext from stdlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 20, 2024
1 parent 3c1f036 commit 15d5f45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion jaraco/media/handbrake.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
try:
from jaraco.windows.power import no_sleep
except ImportError:
from jaraco.context import null as no_sleep
from contextlib import nullcontext as no_sleep
from more_itertools.recipes import consume

from . import dvd
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ requires-python = ">=3.8"
dependencies = [
"jaraco.text >= 3.4",
"jaraco.ui",
"jaraco.context",
"jaraco.path >= 3.1",
"jaraco.functools",
"jaraco.itertools >= 6.2",
Expand Down

0 comments on commit 15d5f45

Please sign in to comment.