Avoid soft-deprecated pathlist ini type on pytest>=7
This allows the test suite to succeed with the legacypath plugin blocked. Fix #722.
This commit is contained in:
@@ -118,8 +118,8 @@ class NodeManager:
|
||||
def _getrsyncoptions(self):
|
||||
"""Get options to be passed for rsync."""
|
||||
ignores = list(self.DEFAULT_IGNORES)
|
||||
ignores += self.config.option.rsyncignore
|
||||
ignores += self.config.getini("rsyncignore")
|
||||
ignores += [str(path) for path in self.config.option.rsyncignore]
|
||||
ignores += [str(path) for path in self.config.getini("rsyncignore")]
|
||||
|
||||
return {
|
||||
"ignores": ignores,
|
||||
|
||||
Reference in New Issue
Block a user