<s> """<STR_LIT>""" <EOL> import json <EOL> import logging <EOL> import sys <EOL> from . acme import Acme <EOL> from . errors import ManualeError <EOL> logger = logging . getLogger ( __name__ ) <EOL> def info ( server , account ) : <EOL> acme = Acme ( server , account ) <EOL> try : <EOL> logger . info ( "<STR_LIT>" ) <EOL> reg = acme . get_registration ( ) <EOL> sys . stdout . write ( json . dumps ( reg , indent = <NUM_LIT:4> , sort_keys = True ) ) <EOL> sys . stdout . flush ( ) <EOL> except IOError as e : <EOL> raise ManualeError ( e ) </s>
