def _fail_if_not_local(self, message):
        from codalab.client.local_bundle_client import LocalBundleClient
        if not isinstance(self.manager.current_client(), LocalBundleClient):
            raise UsageError(message % 'Cannot execute CLI command in non-local mode: %s')
dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/bundle_cli.py/BundleCLI._fail_if_not_local/swapped operands of `%`