/[straw]/straw/src/lib/SummaryParserMP.py
ViewVC logotype

Diff of /straw/src/lib/SummaryParserMP.py

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

revision 1.16 by jmalonzo, Mon Oct 20 03:15:50 2003 UTC revision 1.17 by jmalonzo, Mon Oct 20 07:40:15 2003 UTC
# Line 45  class SummaryParserMP: Line 45  class SummaryParserMP:
45          except (ValueError, Exception):          except (ValueError, Exception):
46              enc = "utf-8"              enc = "utf-8"
47    
48            if enc is None or (len(enc) < 1):
49                enc = "utf-8"
50    
51          parser.feed(content)          parser.feed(content)
52          parsed = straw.ParsedSummary()          parsed = straw.ParsedSummary()
53    
54    
55          parsed.title, enc = unicode_field(          parsed.title, enc = unicode_field(
56              parser.channel, "title", "", enc = enc)              parser.channel, "title", "", enc = enc)
57          parsed.description, enc = unicode_field(          parsed.description, enc = unicode_field(

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26