Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 233816
Collapse All | Expand All

(-)use_desc_gen.py~ (-2 / +3 lines)
Lines 20-25 Link Here
20
import logging
20
import logging
21
import optparse
21
import optparse
22
import os
22
import os
23
import re
23
import sys
24
import sys
24
25
25
from xml.dom import minidom
26
from xml.dom import minidom
Lines 87-94 Link Here
87
    children = 0
88
    children = 0
88
    data = node.nodeValue
89
    data = node.nodeValue
89
90
90
    data = data.replace("\t", '')
91
    whitespace = re.compile('\s+')
91
    data = data.replace("\n", '')
92
    data = whitespace.sub(' ', data)
92
    return (data.strip(), children)
93
    return (data.strip(), children)
93
  else:
94
  else:
94
    desc = ''
95
    desc = ''

Return to bug 233816