Modify

Opened 15 years ago

Closed 15 years ago

#103 closed defect (fixed)

get_param of Format/DelSp returns None

Reported by: debacle@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: trunk
Keywords: Cc:

Description

The following two lines in email2trac fail:

format = email.Utils.collapse_rfc2231_value(part.get_param('Format')).lower()
delsp = email.Utils.collapse_rfc2231_value(part.get_param('DelSp')).lower()

This workaround helps, but I'm not sure, whether it is correct:

format = email.Utils.collapse_rfc2231_value(part.get_param('Format') or "").lower()
delsp = email.Utils.collapse_rfc2231_value(part.get_param('DelSp') or "").lower()

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by bas

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from 0.4 to trunk

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.