Skip to content

Commit 82a85c6

Browse files
committed
update
1 parent 7bcc482 commit 82a85c6

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

pycsw/ogc/api/records.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,10 @@ def __init__(self, config: dict):
137137
max_retries = self.config['repository'].get('maxretries', 5)
138138
while not connection_done and max_attempts <= max_retries:
139139
try:
140-
print("AA", self.config['repository'])
141140
self.repository = rs_cls(self.config['repository'], self.context)
142141
LOGGER.debug('Custom repository %s loaded' % self.config['repository']['source'])
143142
connection_done = True
144143
except Exception as err:
145-
import traceback
146-
print(traceback.format_exc())
147144
LOGGER.debug(f'Repository not loaded retry connection {max_attempts}: {err}')
148145
max_attempts += 1
149146
except Exception as err:

pycsw/ogc/csw/csw2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def getrecords(self):
876876
remotecsw_matches = int(remotecsw.results['matches'])
877877
plural = 's' if remotecsw_matches != 1 else ''
878878
if remotecsw_matches > 0:
879-
matched = str(matched + remotecsw_matches)
879+
matched = str(int(matched) + remotecsw_matches)
880880
dsresults.append(etree.Comment(
881881
' %d result%s from %s ' %
882882
(remotecsw_matches, plural, fedcat)))

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def get_package_version():
5858
DESCRIPTION = ('pycsw is an OGC API - Records and OGC CSW server '
5959
'implementation written in Python')
6060

61-
print("JJJ", DESCRIPTION)
62-
6361
# ensure a fresh MANIFEST file is generated
6462
if (os.path.exists('MANIFEST')):
6563
os.unlink('MANIFEST')

0 commit comments

Comments
 (0)