<s> import os <EOL> from base import BaseHandler <EOL> class RestartHandler ( BaseHandler ) : <EOL> def get ( self ) : <EOL> if not self . authenticate ( superuser = True ) : <EOL> return <EOL> os . system ( '<STR_LIT>' + self . application . settings [ "<STR_LIT>" ] ) <EOL> self . redirect ( self . get_argument ( "<STR_LIT>" ) ) </s>
