def __init__(self, storage_service=None, cloud_storage_bucket=None):
        super(AppEngineStorage, self).__init__()
        if not storage_service:
            storage_service = getattr(settings, APPENGINE_STORAGE_SERVICE_KEY, BLOBSTORE_SERVICE)
        if not cloud_storage_bucket:
            cloud_storage_bucket = getattr(settings, CLOUD_STORAGE_DEFAULT_BUCKET_KEY, None)

        if (BLOBSTORE_SERVICE, CLOUD_STORAGE_SERVICE) not in storage_service:
            raise ImproperlyConfigured("APPENGINE_STORAGE_SERVICE must be either "
                "'gs' or 'blobstore', not %s." % storage_service)
        if storage_service == CLOUD_STORAGE_SERVICE and not cloud_storage_bucket:
            raise ImproperlyConfigured("CLOUD_STORAGE_DEFAULT_BUCKET must be set "
                "when using Google Cloud Storage.")

        self.storage_service = storage_service
        self.cloud_storage_bucket = cloud_storage_bucket
dataset/ETHPy150Open django-nonrel/djangoappengine/djangoappengine/storage.py/AppEngineStorage.__init__/swapped operands of `not in`