euscanwww: take herds.xml path as an argument
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
609eff60ab
commit
1aaee90ab7
@ -130,10 +130,10 @@ class ScanMetadata(object):
|
||||
)
|
||||
return maintainer
|
||||
|
||||
def populate_herds_and_maintainers(self):
|
||||
def populate_herds_and_maintainers(self, herds_xml_path=None):
|
||||
self.logger.info("Populating herds and maintainers from herds.xml...")
|
||||
|
||||
herds_xml_path = os.path.join(
|
||||
herds_xml_path = herds_xml_path or os.path.join(
|
||||
PORTDB.settings["PORTDIR"], "metadata", "herds.xml"
|
||||
)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user