<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sync_remotes(self, force=False):
 """ Pull down all non-local items and save them into remotes_storage. """

        connectors = juicer.utils.get_login_info()[0]
        for repo, items in self.iterrepos():
            repoid = "%s-%s" % (repo, self.current_env)
            for rpm in items:
                # don't bother syncing down if it's already in the pulp repo it needs to go to
                if not rpm.path.startswith(juicer.utils.pulp_repo_path(connectors[self.current_env], repoid)) or force:
                    rpm.sync_to(self.remotes_storage)
                else:
                    juicer.utils.Log.log_debug("Not syncing %s because it's already in pulp" % rpm.path)