se crea parcialmente Address, Country
FossilOrigin-Name: 9db11d9b88e2e0065960ac07efe88e8dd8d87706bda88074845f6bfcfecc737b
This commit is contained in:
@@ -258,7 +258,7 @@ class FachoXML:
|
||||
xpath = self.fragment_prefix + self._path_xpath_for(xpath)
|
||||
elem = self.builder.xpath(self.root, xpath)
|
||||
if elem is None:
|
||||
raise ValueError('xpath %s invalid' % (xpath))
|
||||
raise AttributeError('xpath %s invalid' % (xpath))
|
||||
|
||||
text = self.builder.get_text(elem)
|
||||
return format_(text)
|
||||
|
||||
Reference in New Issue
Block a user