/[adm]/puppet/deployment/mgagit/templates/git_multimail.py
ViewVC logotype

Diff of /puppet/deployment/mgagit/templates/git_multimail.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3462 by colin, Sun Apr 27 13:56:03 2014 UTC revision 3463 by colin, Sun Apr 27 13:58:23 2014 UTC
# Line 355  def addr_header_encode(text, header_name Line 355  def addr_header_encode(text, header_name
355      # (cg) It seems that From: names (or perhaps Subject: headers) that contain      # (cg) It seems that From: names (or perhaps Subject: headers) that contain
356      # a UTF8 character before the first space confuse the older python Header()      # a UTF8 character before the first space confuse the older python Header()
357      # class. This does not appear to be needed in newer python versions, but      # class. This does not appear to be needed in newer python versions, but
358      # this little workaround seems to help on 2.7.1 on valstar mga1.      # this little workaround seems to help on 2.7.1 on valstar mga1. mga#12374
359      try:      try:
360          unicode(text)          unicode(text)
361      except UnicodeDecodeError:      except UnicodeDecodeError:

Legend:
Removed from v.3462  
changed lines
  Added in v.3463

  ViewVC Help
Powered by ViewVC 1.1.30