<s> from nagare . admin import util , command <EOL> class SaveConfig ( command . Command ) : <EOL> desc = '<STR_LIT>' <EOL> @ staticmethod <EOL> def run ( parser , options , args ) : <EOL> application = '<STR_LIT>' <EOL> ( cfgfile , app , dist , conf ) = util . read_application ( application , <EOL> parser . error ) <EOL> infile = open ( cfgfile ) <EOL> outfile = open ( '<STR_LIT>' , '<STR_LIT:w>' ) <EOL> outfile . write ( '<STR_LIT>' ) <EOL> for line in infile : <EOL> oline = line . replace ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> outfile . write ( oline ) <EOL> infile . close ( ) <EOL> outfile . close ( ) </s>
