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)
Developer Services
Mercurial: qimportbz
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.
Assignee | ||
Comment 1•11 years ago
|
||
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 2•11 years ago
|
||
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+
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Other Applications → Developer Services
You need to log in
before you can comment on or make changes to this bug.
Description
•