'Takes a cursor, nonce and list of packages, inserts into ``claims``
and returns ``None`` (or raise :py:exc:`NoPackages`).'

def start_package_claims(self, c, nonce, *packages):

    if (not packages):
        raise NoPackages()
    (extra_sql, values) = ([], [])
    for p in packages:
        extra_sql.append(u'(%s,    %s)')
        values += [nonce, p.id]
    c.run((u'INSERT    INTO    claims    (nonce,    package_id)    VALUES' + u',    '.join(extra_sql)), values)
    self.app.add_event(c, u'participant', dict(id=self.id, action=u'start-claim', values=dict(package_ids=[p.id for p in packages])))
