Add another no:terminal fix and add a test.

This commit is contained in:
Tom Boshoven
2019-09-12 10:32:20 -04:00
parent 0b0de014ec
commit 8cbbbe1a2a
2 changed files with 19 additions and 1 deletions

View File

@@ -112,7 +112,10 @@ class NodeManager(object):
ignores += self.config.option.rsyncignore
ignores += self.config.getini("rsyncignore")
return {"ignores": ignores, "verbose": self.config.option.verbose}
return {
"ignores": ignores,
"verbose": getattr(self.config.option, "verbose", False),
}
def rsync(self, gateway, source, notify=None, verbose=False, ignores=None):
"""Perform rsync to remote hosts for node."""