#NEWLINE# def __exit__( self , exc_type , exc_value , traceback ) : #NEWLINE# #INDENT# if self . _grant : #NEWLINE# #INDENT# self . _c . execute ( ( 'REVOKE SELECT ON %s.* FROM %s' % ( self . _db , exc_type . _user ) ) ) #NEWLINE# #UNINDENT# if self . _created : #NEWLINE# #INDENT# self . _c . execute ( ( 'DROP USER %s' % self . _user ) )