~redsingularity/apport/bugpattern-848676

« back to all changes in this revision

Viewing changes to bugpattern_written.py

  • Committer: Brian Murray
  • Date: 2011-09-13 23:39:20 UTC
  • mfrom: (335.2.1 ubuntu-bugpatterns)
  • Revision ID: brian@canonical.com-20110913233920-g4vgfs3hcme5m178
merge branch from RedSingularity adding a bug pattern for bug 844961

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
            bug_numbers.append(bug_number)
39
39
    for bug_number in bug_numbers:
40
40
        bug = lp.get_bug(bug_number)
 
41
        if bug.private:
 
42
            print 'LP: #%s is private and must be made public before committing the pattern' % bug_number
 
43
            sys.exit(1)
41
44
        if not 'bugpattern-needed' in bug.tags:
42
45
            print 'Not modifying LP: #%s as it needs no pattern' % bug_number
43
46
            continue