~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/sanitize-db.py

  • Committer: j.c.sackett
  • Date: 2011-05-19 15:07:29 UTC
  • mto: This revision was merged to the branch mainline in revision 13104.
  • Revision ID: jonathan.sackett@canonical.com-20110519150729-8b1nhilti4hjin0l
Added nofollow,noindex to search page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python -S
 
2
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
3
# GNU Affero General Public License version 3 (see the file LICENSE).
 
4
 
 
5
"""Scrub a Launchpad database of private data."""
 
6
 
 
7
__metaclass__ = type
 
8
 
 
9
# pylint: disable-msg=W0403
 
10
import _pythonpath
 
11
 
 
12
from lp.scripts.utilities.sanitizedb import SanitizeDb
 
13
 
 
14
if __name__ == '__main__':
 
15
    SanitizeDb().lock_and_run()