Skip to content
Snippets Groups Projects
Commit 75ec46c6 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

resourceutil: use `from importlib import resources`

Without this patch, we get the following error from when trying to run
hg with PyOxidizer:

  module 'importlib' has no attribute 'resources'

I don't know what why that happens, but `from importlib import
resources` is the form I would prefer anyway, so let's use that now
that the impoort-checker has been fixed.

Differential Revision: https://phab.mercurial-scm.org/D7701
parent 30357611
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment