Mercurial > kallithea
changeset 1017:ade3414a8b61 beta
Fixed problems with repository creation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 10 Feb 2011 21:56:14 +0100 |
parents | 3790279d2538 |
children | da5075ce681c |
files | rhodecode/model/repo.py |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Wed Feb 09 18:54:20 2011 +0100 +++ b/rhodecode/model/repo.py Thu Feb 10 21:56:14 2011 +0100 @@ -50,13 +50,15 @@ except: self._base_path = None - @property - def base_path(): - if self._base_path is None: - raise Exception('Base Path is empty, try set this after' - 'class initialization when not having ' - 'app_globals available') - return self._base_path + super(RepoModel, self).__init__(sa) + + @property + def base_path(self): + if self._base_path is None: + raise Exception('Base Path is empty, try set this after' + 'class initialization when not having ' + 'app_globals available') + return self._base_path super(RepoModel, self).__init__()