def execute(self, sql, params=None):
        try:
            return self.cursor.execute(sql, params)
        except ValueError, e:
            if params is None:
                return self.cursor.execute(sql, '')
            else:
                raise ValueError(e)
dataset/ETHPy150Open Dwolla/arbalest/arbalest/sql.py/Database.execute/original