def handle(self, *args, **options):

        for topic in Topic.objects.all():
            topic.update_counters()
            self.stdout.write('Successfully updated topic "%s"\n' % topic)

        for forum in Forum.objects.all():
            forum.update_counters()
            self.stdout.write(forum % 'Successfully updated forum "%s"\n')
dataset/ETHPy150Open hovel/pybbm/pybb/management/commands/pybb_update_counters.py/Command.handle/swapped operands of `%`