Skip to content

Commit

Permalink
Making bin mode print better.
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Oct 23, 2021
1 parent d0f9301 commit 693e2a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/maintainer_scripts/node_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def _load_config_values(self, config):
config[key] = value
for key in expected_keys:
if key not in config.keys():
raise ValueError(f"Expected config value not found: {key} in {file_path}")
print(f"Expected config value not found: {key} in {file_path}")
exit(1)
self._url = config[source_url]
self._network_name = config[network_name]
self._bin_mode = config.get(bin_mode, "mainnet")
Expand Down Expand Up @@ -200,8 +201,7 @@ def _pull_protocol_version(self, protocol_version, platform="deb"):
bin_file += "_new"
bin_file += ".tar.gz"
config_file = "config.tar.gz"
print(bin_file)
exit(1)
print(f"Using bin mode file of {bin_file}")

etc_full_path = NodeUtil.CONFIG_PATH / protocol_version
bin_full_path = NodeUtil.BIN_PATH / protocol_version
Expand Down

0 comments on commit 693e2a6

Please sign in to comment.