def populate(self):
        if not self.instances:
            # Delete all existing objects, only if it was asked for and we have testing mode
            if self.clear_existing:
                self.model._default_manager.all().delete()

            for i in range(self.number_instances):
                instance = self.populate_instance(i)
                self.instances.append(instance)
            print (len(self.instances), self.model._meta.app_label, self.model._meta.object_name) % "Created %d instances of %s.%s"
        logging.debug("Populator.populate() called twice on instance.")
dataset/ETHPy150Open willhardy/Roll-Your-Own/rollyourown/populate/registration.py/Populator.populate/swapped operands of `%`