##// END OF EJS Templates
Fixed problems with repository creation
marcink -
r1017:ade3414a beta
parent child Browse files
Show More
@@ -50,13 +50,15 b' class RepoModel(BaseModel):'
50 except:
50 except:
51 self._base_path = None
51 self._base_path = None
52
52
53 @property
53 super(RepoModel, self).__init__(sa)
54 def base_path():
54
55 if self._base_path is None:
55 @property
56 raise Exception('Base Path is empty, try set this after'
56 def base_path(self):
57 'class initialization when not having '
57 if self._base_path is None:
58 'app_globals available')
58 raise Exception('Base Path is empty, try set this after'
59 return self._base_path
59 'class initialization when not having '
60 'app_globals available')
61 return self._base_path
60
62
61 super(RepoModel, self).__init__()
63 super(RepoModel, self).__init__()
62
64
General Comments 0
You need to be logged in to leave comments. Login now