FIX bugs introduced by change in color handling.

This commit is contained in:
Olivier Mangin 2013-06-13 16:58:56 +02:00
parent a928af2944
commit af5020c6a4
3 changed files with 3 additions and 2 deletions

View File

@ -36,4 +36,4 @@ def setup(enable = True):
if enable:
dye = _dye
else:
dye = _nodye
dye = _nodye

View File

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

View File

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