#NEWLINE# def main( self , args ) : #NEWLINE# #INDENT# template = Template ( args . name ) #NEWLINE# if ( not template . exists ) : #NEWLINE# #INDENT# raise CommandError ( ( 'Invalid template name: %s' % args . name ) ) #NEWLINE# #UNINDENT# self . log . info ( ( "Removing template '%s'" % args . name ) ) #NEWLINE# template . delete ( )