def set_autocommit(self, conn, autocommit):
if not self.supports_autocommit and autocommit:<EOL><INDENT>self.log.warn(<EOL>("<STR_LIT>"<EOL>"<STR_LIT>"),<EOL>getattr(self, self.conn_name_attr))<EOL><DEDENT>conn.autocommit = autocommit<EOL>
Sets the autocommit flag on the connection