Show More
@@ -208,7 +208,10 b' class RepoAppView(BaseAppView):' | |||||
208 | c.repository_requirements_missing = False |
|
208 | c.repository_requirements_missing = False | |
209 | try: |
|
209 | try: | |
210 | self.rhodecode_vcs_repo = self.db_repo.scm_instance() |
|
210 | self.rhodecode_vcs_repo = self.db_repo.scm_instance() | |
211 | self.path_filter = PathFilter(self.rhodecode_vcs_repo.get_path_permissions(c.auth_user.username)) |
|
211 | if self.rhodecode_vcs_repo: | |
|
212 | self.path_filter = PathFilter(self.rhodecode_vcs_repo.get_path_permissions(c.auth_user.username)) | |||
|
213 | else: | |||
|
214 | self.path_filter = PathFilter(None) | |||
212 | except RepositoryRequirementError as e: |
|
215 | except RepositoryRequirementError as e: | |
213 | c.repository_requirements_missing = True |
|
216 | c.repository_requirements_missing = True | |
214 | self._handle_missing_requirements(e) |
|
217 | self._handle_missing_requirements(e) |
General Comments 0
You need to be logged in to leave comments.
Login now