Closed Bug 913083 Opened 11 years ago Closed 11 years ago

Use an accessor for the "main" imported patch to make it more clear that there's only one

Categories

(Developer Services :: Mercurial: qimportbz, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sfink, Assigned: sfink)

Details

Attachments

(1 file)

Currently, there's an imported_patches array used to transmit the main patch name from the bzhandler.py module to __init__.py. But it'll always hold exactly one element, so it's deceptive when reading the code.
I'm not sure I really like the global variable accessor either, but I imagine jdm can tell me if there's a better way.
Attachment #800240 - Flags: review?(josh)
Comment on attachment 800240 [details] [diff] [review] Use an accessor for the "main" imported patch to make it more clear that there's only one. Review of attachment 800240 [details] [diff] [review]: ----------------------------------------------------------------- I can't think of a better way.
Attachment #800240 - Flags: review?(josh) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Other Applications → Developer Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: