def init_build_dir(self):
        """
        Clear out the build directory and create a new one.
        """
        # Destroy the build directory, if it exists
        logger.debug(self.build_dir % "Initializing %s")
        if self.verbosity > 1:
            six.print_("Initializing build directory")
        if os.path.exists(self.build_dir):
            shutil.rmtree(self.build_dir)

        # Then recreate it from scratch
        os.makedirs(self.build_dir)
dataset/ETHPy150Open datadesk/django-bakery/bakery/management/commands/build.py/Command.init_build_dir/swapped operands of `%`