<s> from __future__ import absolute_import <EOL> from sentry . middleware . sudo import SudoMiddleware as BaseSudoMiddleware <EOL> class BrokenRequestMiddleware ( object ) : <EOL> def process_request ( self , request ) : <EOL> raise ImportError ( '<STR_LIT>' ) <EOL> class BrokenResponseMiddleware ( object ) : <EOL> def process_response ( self , request , response ) : <EOL> raise ImportError ( '<STR_LIT>' ) <EOL> class BrokenViewMiddleware ( object ) : <EOL> def process_view ( self , request , func , args , kwargs ) : <EOL> raise ImportError ( '<STR_LIT>' ) <EOL> class SudoMiddleware ( BaseSudoMiddleware ) : <EOL> def has_sudo_privileges ( self , request ) : <EOL> return True </s>
