diff options
Diffstat (limited to 'tools/binman/control.py')
| -rw-r--r-- | tools/binman/control.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/tools/binman/control.py b/tools/binman/control.py index 0febcb79a60..68597c4e779 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -7,7 +7,11 @@  from collections import OrderedDict  import glob -import importlib.resources +try: +    import importlib.resources +except ImportError: +    # for Python 3.6 +    import importlib_resources  import os  import pkg_resources  import re | 
