Changeset 658


Ignore:
Timestamp:
01/26/15 16:41:21 (9 years ago)
Author:
bas
Message:

fixed a bug in email_to_unicode, skip unicode strings they are already converted.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r657 r658  
     12.8.6:
     2    * Fixed a bug for unicode strings in email_to_unicode, skip these kind of types.
     3      Author: Bas van der Vlies
     4
    152.8.5:
    26  * Improve error message when email2trac failse, closes #345
  • trunk/debian/changelog

    r656 r658  
    1 email2trac (2.8.5-1) UNRELEASED; urgency=low
     1email2trac (2.8.6.1) UNRELEASED; urgency=low
    22
    33  *  See Changelog
    44
    5  -- Bas van der Vlies <bas.vandervlies@surfsara.nl>  Thu, 20 Nov 2014 12:22:53 +0100
     5 -- Bas van der Vlies <bas.vandervlies@surfsara.nl>  Mon, 26 Jan 2015 16:40:17 +0100
    66
    77email2trac (2.8.4-1) stable; urgency=low
  • trunk/email2trac.py.in

    r657 r658  
    600600        """
    601601        self.logger.debug("function email_to_unicode")
     602
     603        self.logger.debug("\t repr:%s type:%s" %(repr(message_str), type(message_str)))
     604
     605        ## Skip unicode strings, there are already converted
     606        #
     607        if type(message_str) is unicode:
     608            return message_str
    602609
    603610        results =  email.Header.decode_header(message_str)
  • trunk/email2trac.spec

    r656 r658  
    11Summary: Utilities for converting emails to trac tickets
    22Name: email2trac
    3 Version: 2.8.5
     3Version: 2.8.6
    44Release: 1
    55License: Apache License 2.0
Note: See TracChangeset for help on using the changeset viewer.