Lukasz Balcerzak  committed da0983e

Moved vcs import on top

  • Participants
  • Parent commits 83932ab

Comments (0)

Files changed (1)

File projector/contrib/git/

 from projector.contrib.git.githttp import GitWebServer
 from projector.views.project import ProjectView
-from vcs.web.simplevcs.utils import log_error
+from vcs.web.simplevcs.utils import log_error, ask_basic_auth, basic_auth
 class ProjectGitBaseView(ProjectView):
     def get_authed_user(self):
         if self.project.is_public():
             return None
-        from vcs.web.simplevcs.utils import ask_basic_auth, basic_auth
         # Check if user have been already authorized or ask to
         self.request.user = basic_auth(self.request)
         if self.request.user is None: