Fix bogus NotImplementedError on Area.index_uris

This commit is contained in:
Nicolas Dandrimont 2019-11-13 13:51:46 +01:00
parent 773cd337f1
commit b2e5ce32a9

View file

@ -85,11 +85,11 @@ class Area(SQLBase):
yield (base_uri + '.' + ext, ext)
else:
yield (base_uri, None)
raise NotImplementedError(
'Do not know how to build index URI for Distribution type %s' %
self.distribution.type
)
else:
raise NotImplementedError(
'Do not know how to build index URI for Distribution type %s' %
self.distribution.type
)
def __repr__(self):
return 'Area(%s of %s)' % (