def _empty_leaderboard(self):
        self.scores = []
        self.user_scores = {}
        self.aggregate_score = 0

        self._set_path()
        unicode_path = unicode(self.path)
        if not path_exists(unicode_path):
            return

        with self.lock:
            try:
                f = open(unicode_path, 'w')
                f.close()
            except IOError as e:
                LOG.error('Failed emptying leaderboard file "%s": %s', self.path, str(e))
                raise LeaderboardError('Failed emptying leaderboard file %s' + self.path)
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/apiv1/leaderboards.py/Leaderboard._empty_leaderboard/operator `%` -> `+`