summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
881a516)
Do not append language indicator if there is already a '[' in the
string.
def indexit(entry, wlist, lang=None):
for w in wlist.split(","):
if "" != w:
def indexit(entry, wlist, lang=None):
for w in wlist.split(","):
if "" != w:
+ if lang and '[' not in w:
w += "[%s]" % lang
entry.append(E.indexterm(E.primary(w)))
glossary = E.glosslist()
w += "[%s]" % lang
entry.append(E.indexterm(E.primary(w)))
glossary = E.glosslist()