Remove relative imports

This commit is contained in:
David Boreham 2023-07-05 08:55:29 -06:00
parent 714efe3ddd
commit 0358f5e1f1
3 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ import subprocess
import click
import importlib.resources
from pathlib import Path
from .util import include_exclude_check, get_parsed_stack_config
from .base import get_npm_registry_url
from app.util import include_exclude_check, get_parsed_stack_config
from app.base import get_npm_registry_url
# TODO: find a place for this
# epilog="Config provided either in .env or settings.ini or env vars: CERC_REPO_BASE_DIR (defaults to ~/cerc)"

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
from util import get_yaml
from app.util import get_yaml
default_spec_file_content = """config:
node_moniker: my-node-name

View File

@ -96,7 +96,7 @@ def call_stack_deploy_init(stack):
spec = util.spec_from_file_location("commands", python_file_path)
imported_stack = util.module_from_spec(spec)
spec.loader.exec_module(imported_stack)
return imported_stack.init()
return imported_stack.init(None)
@click.command()