Closed Bug 1623508 Opened 5 years ago Closed 5 years ago

Minor bug in block_analyzer.py error message

Categories

(Core :: DMD, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

If the address that you passed in isn't found, this code tries to print out an error message: print('Object ' + block + ' not found in traces.'). But block is an integer, so this doesn't work. We should just print out the original argument passed in.

If we don't find the block, just print out the original argument,
instead of the version converted to an integer. Python gets mad when
you try to concatenate an int and a string.

Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c63d5667aa2c Print out original argument on error in block_analyzer. r=njn
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: