---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-a0fd93301da6> in <module>()
1 from owslib.csw import CatalogueServiceWeb
2 csw = CatalogueServiceWeb('http://www.rndt.gov.it/RNDT/CSW?')
----> 3 csw.getrecords(keywords=['test'], maxrecords='20')
/home/local/python27_epd/lib/python2.7/site-packages/owslib/csw.pyc in getrecords(self, qtype, keywords, typenames, propertyname, bbox, esn, sortby, outputschema, format, startposition, maxrecords, cql, xml, resulttype)
228 # process search results attributes
229 val = self._exml.find(util.nspath_eval('csw:SearchResults', namespaces)).attrib.get('numberOfRecordsMatched')
--> 230 self.results['matches'] = int(util.testXMLValue(val, True))
231 val = self._exml.find(util.nspath_eval('csw:SearchResults', namespaces)).attrib.get('numberOfRecordsReturned')
232 self.results['returned'] = int(util.testXMLValue(val, True))
TypeError: int() argument must be a string or a number, not 'NoneType'