<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add(self, snapshot, distributions, component='main', storage=""):
 """ Add mirror or repo to publish """

        for dist in distributions:
            self.publish(dist, storage=storage).add(snapshot, component)