Mercurial > kallithea
changeset 1399:4134af931e91 beta
Added info about sys.exit cause
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 29 Jun 2011 01:47:59 +0200 |
parents | 6dee43453f58 |
children | 0d7b56b97953 |
files | rhodecode/lib/db_manage.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/db_manage.py Wed Jun 29 01:09:44 2011 +0200 +++ b/rhodecode/lib/db_manage.py Wed Jun 29 01:47:59 2011 +0200 @@ -347,8 +347,9 @@ path_ok = False log.error('No write permission to given path %s', path) + if retries == 0: - sys.exit() + sys.exit('max retries reached') if path_ok is False: retries -= 1 return self.config_prompt(test_repo_path, retries)