Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65753 - New tmda-1.0.3-r1 patch (mime patch) has bad indentation; causes package to not run
Summary: New tmda-1.0.3-r1 patch (mime patch) has bad indentation; causes package to n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-28 18:39 UTC by Jesse D. Guardiani
Modified: 2004-09-30 04:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This is the updated patch with correct indentation. (tmda-1.0-multipart-handling.patch,925 bytes, patch)
2004-09-28 18:42 UTC, Jesse D. Guardiani
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse D. Guardiani 2004-09-28 18:39:49 UTC
The "raise" line of the tmda-1.0-multipart-handling.patch has bad indentation. Here's the error it throws:

Traceback (most recent call last):
File "/usr/bin/tmda-inject", line 142, in ?
orig_msgout_as_string = Util.msg_as_string(msgout)
File "/usr/lib/python2.3/site-packages/TMDA/Util.py", line 546, in msg_as_string
from email import Generator
File "/usr/lib/python2.3/site-packages/TMDA/pythonlib/email/Generator.py", line 206
raise TypeError, 'string payload expected: %s' % type(payload)
^
IndentationError: unindent does not matc

Reproducible: Always
Steps to Reproduce:
1. upgrade to 1.0.3-r1
2. use tmda-inject
Comment 1 Jesse D. Guardiani 2004-09-28 18:42:45 UTC
Created attachment 40673 [details, diff]
This is the updated patch with correct indentation.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-09-30 04:52:20 UTC
Fixed in cvs, thanks for reporting this.