~lifeless/python-oops-tools/polish

« back to all changes in this revision

Viewing changes to src/oopstools/scripts/amqp2disk.py

  • Committer: Tarmac
  • Author(s): Robert Collins
  • Date: 2011-11-03 00:10:44 UTC
  • mfrom: (11.1.4 amqp-polish)
  • Revision ID: launchpad@pqm.canonical.com-20111103001044-bohc04291gjlw30f
Back out the change to use upper in amqp2disk, and instead change the lookup process to do what it advertised.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    # the first publisher will either inherit or assign, so this should be
121
121
    # impossible.
122
122
    assert report['id'] is not None
123
 
    # Fit in with the upper-case assumption in oops-tools.
124
 
    report['id'] = report['id'].upper()
125
123
    # Some fallback methods could lead to duplicate paths into the DB: exit
126
124
    # early if the OOPS is already loaded.
127
125
    try: