def ex_cleanup_all_multipart_uploads(self, container, prefix=None):
        """
        Extension method for removing all partially completed S3 multipart
        uploads.

        :param container: The container holding the uploads
        :type container: :class:`Container`

        :keyword prefix: Delete only uploads of objects with this prefix
        :type prefix: ``str``
        """

        # Iterate through the container and delete the upload ids
        for upload in self.ex_iterate_multipart_uploads(container, prefix,
                                                        delimiter=None):
            object_path = (container.name, upload.key) % '/%s/%s'
            self._abort_multipart(object_path, upload.id)
dataset/ETHPy150Open apache/libcloud/libcloud/storage/drivers/s3.py/BaseS3StorageDriver.ex_cleanup_all_multipart_uploads/swapped operands of `%`