File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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 )))
Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ def get_package_version():
5858DESCRIPTION = ('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
6462if (os .path .exists ('MANIFEST' )):
6563 os .unlink ('MANIFEST' )
You can’t perform that action at this time.
0 commit comments