Mercurial > kallithea
comparison pylons_app/lib/backup_manager.py @ 440:9fe5ca6d72f6
fixed stupid typo in backup manager
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 30 Aug 2010 17:51:36 +0200 |
parents | bd3f341cad45 |
children |
comparison
equal
deleted
inserted
replaced
439:728fbb693183 | 440:9fe5ca6d72f6 |
---|---|
51 | 51 |
52 def get_id_rsa(self, rsa_key): | 52 def get_id_rsa(self, rsa_key): |
53 if not os.path.isfile(rsa_key): | 53 if not os.path.isfile(rsa_key): |
54 logging.error('Could not load id_rsa key file in %s', rsa_key) | 54 logging.error('Could not load id_rsa key file in %s', rsa_key) |
55 sys.exit() | 55 sys.exit() |
56 | 56 return rsa_key |
57 | |
57 def get_repos_path(self, path): | 58 def get_repos_path(self, path): |
58 if not os.path.isdir(path): | 59 if not os.path.isdir(path): |
59 logging.error('Wrong location for repositories in %s', path) | 60 logging.error('Wrong location for repositories in %s', path) |
60 sys.exit() | 61 sys.exit() |
61 return path | 62 return path |