#NEWLINE# def start( self ) : #NEWLINE# #INDENT# ' Start serving the contents of the repository ' #NEWLINE# self . __server = RepositoryServer ( ( self . _address , self . _port ) , QuietHTTPHandler ) #NEWLINE# log . debug ( ( 'Serving repository at %s in port %s' % ( self . _repodir , self . _port ) ) ) #NEWLINE# os . chdir ( self . _repodir ) #NEWLINE# thread = Thread ( target = self . __server . serve_until_stopped , args = [ ] ) #NEWLINE# thread . start ( )