failing to parse bug attachments in text mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-launchpad-bugs |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
1) main 84
2) buginfo --title 202595
3)
Traceback (most recent call last):
File "./buginfo", line 86, in <module>
main()
File "./buginfo", line 59, in main
print bug.title
File "/home/
if fget : fget = lambda s, n=fget.__name__ : getattr(s, n)()
File "/home/
return self.__
File "/home/
self.parse()
File "/home/
assert len(x) == 2, "wrong line:%s" %l
AssertionError: wrong line: x-unix-mode=0644;
This is most likely really an issue with Malone which I've reported as bug 210571, but it might be worth working around.
Hi Brian,
I agree, this is more an issue in Malone. I'm afraid fixing this in the current version of text_bug.py is not possible without changing large parts of the parser, which I think we should not do for just a workaround, so it's "Won't Fix" IMHO. I hope that's Ok for you.
For hardy+1 I plan to rewrite (simplify) the parser (Bug 202262). I committed a simple workaround to the attached branch there.
Markus