Closed
Bug 720190
Opened 14 years ago
Closed 14 years ago
In pymake, the UnexportDirective class is missing a dump() method
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mhagger, Assigned: mhagger)
Details
(Whiteboard: [pymake])
Attachments
(1 file)
742 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
If you run mkparse.py against a Makefile that contains an "unexport" statement, an exception is thrown:
Traceback (most recent call last):
File "../pymake/mkparse.py", line 12, in <module>
print stmts
File "/home/mhagger/self/proj/pymake-hg/pymake/parserdata.py", line 510, in __str__
self.dump(fd, '')
File "/home/mhagger/self/proj/pymake-hg/pymake/parserdata.py", line 506, in dump
s.dump(fd, indent)
AttributeError: 'UnexportDirective' object has no attribute 'dump'
The exception is caused by the fact that UnexportDirective does not implement the dump() method.
I will attach a patch that fixes the problem.
Updated•14 years ago
|
Assignee: nobody → mhagger
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Whiteboard: [pymake]
Updated•14 years ago
|
Attachment #590538 -
Flags: review?(benjamin)
Comment 1•14 years ago
|
||
Comment on attachment 590538 [details] [diff] [review]
Patch that adds UnexportDirective.dump()
Please push to the pymake repo and we'll get pick this up in m-c the next time we do an import (unless it's really important to you that we get it into the mozilla tree).
Attachment #590538 -
Flags: review?(benjamin) → review+
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [pymake] → [pymake] [checkin-needed to pymake repo]
Assignee | ||
Comment 2•14 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #1)
> Please push to the pymake repo and we'll get pick this up in m-c the next
> time we do an import (unless it's really important to you that we get it
> into the mozilla tree).
There is no hurry on my account to get this in the mozilla tree; I have patched my copy locally and that is fine for now.
I am not a committer to pymake so I don't believe that I can push to the project. (Therefore the bug should probably not remain assigned to me, but I don't know to whom I should assign it.)
Comment 3•14 years ago
|
||
That's ok, someone else can land it for you (I have marked the bug as checkin-needed, so will be picked up by myself/someone else soon). What first+last name do you wish to have on the commit?
Comment 4•14 years ago
|
||
(And thank you very much for the patch!)
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to Ed Morley [:edmorley] from comment #3)
> [...] What first+last name do you wish to have on the commit?
Michael Haggerty
(In reply to Ed Morley [:edmorley] from comment #4)
> (And thank you very much for the patch!)
My pleasure. pymake is quite cool and I expect it to save me a lot of work on a project that I am working on.
Comment 6•14 years ago
|
||
http://hg.mozilla.org/users/bsmedberg_mozilla.com/pymake/rev/87d436cd8974
Thanks for the patch!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [pymake] [checkin-needed to pymake repo] → [pymake]
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•