def get_server_info(request=None):
 capabilities = _capabilities_defaults.copy()
 capabilities.update(_registered_capabilities)
 return {u'product': {u'name': u'Review Board', u'version': get_version_string(), u'package_version': get_package_version(), u'is_release': is_release()}, u'site': {u'url': get_server_url(request=request), u'administrators': [{u'name': name, u'email': email} for (name, email) in settings.ADMINS], u'time_zone': settings.TIME_ZONE}, u'capabilities': capabilities}

def get_server_info ( request = None ) : capabilities = _capabilities_defaults . copy ( ) capabilities . update ( _registered_capabilities ) return { u'product' : { u'name' : u'Review Board' , u'version' : get_version_string ( ) , u'package_version' : get_package_version ( ) , u'is_release' : is_release ( ) } , u'site' : { u'url' : get_server_url ( request = request ) , u'administrators' : [ { u'name' : name , u'email' : email } for ( name , email ) in settings . ADMINS ] , u'time_zone' : settings . TIME_ZONE } , u'capabilities' : capabilities }
returns server information for use in the api .