~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/massage-bug-import-xml

  • Committer: Gavin Panella
  • Date: 2010-10-27 16:42:33 UTC
  • mto: This revision was merged to the branch mainline in revision 11817.
  • Revision ID: gavin.panella@canonical.com-20101027164233-hgncla70i5kg745q
Rename munge() to massage().

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    sys.stderr.write("\n")
49
49
 
50
50
 
51
 
def munge(root, project_name, fix_nickname, tag_nickname):
 
51
def massage(root, project_name, fix_nickname, tag_nickname):
52
52
    """Fix problems in the bug import XML tree.
53
53
 
54
54
    This includes:
205
205
        parser.error("A project name must be specified.")
206
206
 
207
207
    tree = etree.parse(sys.stdin)
208
 
    munge(
 
208
    massage(
209
209
        root=tree.getroot(),
210
210
        project_name=options.project_name,
211
211
        fix_nickname=options.fix_nickname,