def save_config(self, config):
        doc = self.dbs['plugins'].get(self.plugin_name).result().json()
        if doc not in 'error':
            config['_id'] = doc['_id']
            config['_rev'] = doc['_rev']
        self.dbs['plugins'][self.plugin_name] = config
dataset/ETHPy150Open kootenpv/sky/sky/crawler_plugins.py/CrawlCloudantPlugin.save_config/swapped operands of `not in`