FIX bugs introduced by change in color handling.

main
Olivier Mangin 12 years ago
parent a928af2944
commit af5020c6a4

@ -1,5 +1,6 @@
from .. import pretty from .. import pretty
from .. import repo from .. import repo
from .. import color
def parser(subparsers, config): def parser(subparsers, config):

@ -26,7 +26,7 @@ def short_authors(bibentry):
return '' return ''
def bib_oneliner(bibentry, color=True): def bib_oneliner(bibentry):
authors = short_authors(bibentry) authors = short_authors(bibentry)
title = bibtex_purify(bibentry.fields['title']) title = bibtex_purify(bibentry.fields['title'])
year = bibtex_purify(bibentry.fields.get('year', '')) year = bibtex_purify(bibentry.fields.get('year', ''))

Loading…
Cancel
Save