Skip to content

Commit f2a841b

Browse files
committed
syntax
1 parent aa2c61a commit f2a841b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ckanext/datastore_search/backend/solr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def create(self,
277277
'core_name': core_name,
278278
'config_set': self.configset_name,
279279
'callback_fn': 'ckanext.datastore_search.logic.'
280-
'action.datastore_search_create_callback',
280+
'action.datastore_search_create_callback',
281281
'callback_queue': callback_queue,
282282
'callback_timeout': config.get('ckan.jobs.timeout', 300)},
283283
title='SOLR Core creation %s' % core_name,

ckanext/datastore_search/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
try:
1919
# type_ignore_reason: catch ImportError
2020
from ckanext.xloader.interfaces import IXloader # type: ignore
21-
# type_ignore_reason: not redifined if ImportError
22-
HAS_XLOADER = True # type: ignore
21+
HAS_XLOADER = True
2322
except ImportError:
2423
# type_ignore_reason: not redifined if ImportError
2524
HAS_XLOADER = False # type: ignore

0 commit comments

Comments
 (0)