def rollback(self):
if not self.connection.closed:<EOL><INDENT>self.connection.rollback()<EOL><DEDENT>else:<EOL><INDENT>raise AttributeError('<STR_LIT>' %<EOL>self.database)<EOL><DEDENT>
This just calls the connection's commit method.