File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ EXPOSE 3000
55
66USER root
77RUN apt-get update && apt-get install -y curl gpg-agent
8- RUN curl --silent --location https://deb.nodesource.com/setup_14 .x | bash -
8+ RUN curl --silent --location https://deb.nodesource.com/setup_16 .x | bash -
99RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \
1010 ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \
1111 ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \
Original file line number Diff line number Diff line change 1818'''
1919
2020import sys
21- import imp
21+ import importlib
2222import argparse
2323import json
2424import os
2828sys .path .append (sys .argv [2 ])
2929
3030try :
31- imp . load_source ('opendm' , sys .argv [2 ] + '/opendm/__init__.py' )
31+ importlib . util . spec_from_file_location ('opendm' ,sys .argv [2 ] + '/opendm/__init__.py' ). loader . load_module ( )
3232except :
3333 pass
3434try :
35- imp . load_source ('context' , sys .argv [2 ] + '/opendm/context.py' )
35+ importlib . util . spec_from_file_location ('context' , sys .argv [2 ] + '/opendm/context.py' ). loader . load_module ( )
3636except :
3737 pass
38- odm = imp . load_source ('config' , sys .argv [2 ] + '/opendm/config.py' )
38+ odm = importlib . util . spec_from_file_location ('config' , sys .argv [2 ] + '/opendm/config.py' ). loader . load_module ( )
3939
4040options = {}
4141class ArgumentParserStub (argparse .ArgumentParser ):
You can’t perform that action at this time.
0 commit comments