<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rsync_roots(self, gateway):
 """Rsync the set of roots to the node's gateway cwd."""

        if self.roots:
            for root in self.roots:
                self.rsync(gateway, root, **self.rsyncoptions)