Skip to content

Commit

Permalink
use importlib.resources
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed May 12, 2023
1 parent 30fcca5 commit 38b6293
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/roman_datamodels/stnode.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
from .stuserdict import STUserDict as UserDict
from .validate import ValidationWarning, _check_type, _error_message

if sys.version_info < (3, 9):
import importlib_resources
else:
import importlib.resources as importlib_resources
import importlib.resources


__all__ = [
Expand Down

0 comments on commit 38b6293

Please sign in to comment.