better error message in publish when repo_key is not set

This commit is contained in:
Michael Pöhn 2017-10-16 18:11:57 +02:00
parent e5acdee21e
commit 788c8f97fd
4 changed files with 42 additions and 19 deletions

View file

@ -157,6 +157,8 @@ def main():
logging.critical(_('Java JDK not found! Install in standard location or set java_paths!'))
sys.exit(1)
common.assert_config_keystore(config)
log_dir = 'logs'
if not os.path.isdir(log_dir):
logging.info(_("Creating log directory"))