#!/usr/bin/python
# Author: Kees Cook <kees@canonical.com>
# Copyright (C) 2009 Canonical, Ltd.
# License: GPLv3

import lpl_common
import sys

lp = lpl_common.connect()

print >>sys.stderr, "This is just an example script currently"
sys.exit(1)

for b in ['157919','209901','246067']:
    bug = lp.bugs[b]
    for c in ['2008-1514','2008-3528','2008-3831','2009-0029','2008-4395']:
        cve = lp.load(str(lp._root_uri) + '/bugs/cve/%s' % (c))
        print '%s %s' % (b, c)
        bug.unlinkCVE(cve=cve)
