File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ckanext/harvest_basket/harvesters Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 10
10
from requests import utils as request_utils
11
11
import owslib .util as ows_util
12
12
13
- from requests_cache import install_cache
14
- def ff (resp ):
15
- return resp .url .startswith ("https://geonetwork.tern.org.au" )
16
- install_cache ("/tmp/csw-harvester" , "sqlite" , filter_fn = ff )
13
+ # from requests_cache import install_cache
14
+ # def ff(resp):
15
+ # return resp.url.startswith("https://geonetwork.tern.org.au")
16
+ # install_cache("/tmp/csw-harvester", "sqlite", filter_fn=ff)
17
17
18
18
log = logging .getLogger (__name__ )
19
19
@@ -177,7 +177,7 @@ def getidentifiers(
177
177
break
178
178
179
179
startposition += page
180
- if startposition >= (matches + 1 ) or 1 :
180
+ if startposition >= (matches + 1 ):
181
181
break
182
182
183
183
kwa ["startposition" ] = startposition
You can’t perform that action at this time.
0 commit comments