comparison rhodecode/lib/base.py @ 1978:164199e476e9 beta

code garden, pep8
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 02 Feb 2012 00:32:15 +0200
parents cf51bbfb120e
children 6020e3884a58
comparison
equal deleted inserted replaced
1977:3b0255d936c8 1978:164199e476e9
36 # base path of repo locations 36 # base path of repo locations
37 self.basepath = self.config['base_path'] 37 self.basepath = self.config['base_path']
38 #authenticate this mercurial request using authfunc 38 #authenticate this mercurial request using authfunc
39 self.authenticate = AuthBasicAuthenticator('', authfunc) 39 self.authenticate = AuthBasicAuthenticator('', authfunc)
40 self.ipaddr = '0.0.0.0' 40 self.ipaddr = '0.0.0.0'
41
42 def _handle_request(self, environ, start_response):
43 raise NotImplementedError()
41 44
42 def _get_by_id(self, repo_name): 45 def _get_by_id(self, repo_name):
43 """ 46 """
44 Get's a special pattern _<ID> from clone url and tries to replace it 47 Get's a special pattern _<ID> from clone url and tries to replace it
45 with a repository_name for support of _<ID> non changable urls 48 with a repository_name for support of _<ID> non changable urls