def successResponse(response):
 response = str(response)
 return ('+OK %s\r\n' % (response,))

def successResponse ( response ) : response = str ( response ) return ( '+OK %s\r\n' % ( response , ) )
format an object as a positive response .