#NEWLINE# def GetMirror( self , port = 0 ) : #NEWLINE# #INDENT# server = Config . GetString ( 'BBS_WEBDOMAIN' , '' ) #NEWLINE# if ( not server ) : #NEWLINE# #INDENT# server = Config . GetString ( 'BBSDOMAIN' , '' ) #NEWLINE# #UNINDENT# if ( not server ) : #NEWLINE# #INDENT# raise ServerError ( "can't get server domain" ) #NEWLINE# #UNINDENT# return server