FIX color bugs.

This commit is contained in:
Olivier Mangin 2013-06-18 20:22:02 +02:00
parent af5020c6a4
commit 281d945f08
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def command(config, ui, cmd):
citekey=color.dye(rp.citekeys[n], color.purple), citekey=color.dye(rp.citekeys[n], color.purple),
descr=bibdesc, descr=bibdesc,
labels=color.dye(' '.join(p.metadata.get('labels', [])), labels=color.dye(' '.join(p.metadata.get('labels', [])),
color.purple), color.purple, bold=True),
)).encode('utf-8')) )).encode('utf-8'))
ui.print_('\n'.join(articles)) ui.print_('\n'.join(articles))

View File

@ -3,6 +3,7 @@ import subprocess
from .. import repo from .. import repo
from ..paper import NoDocumentFile from ..paper import NoDocumentFile
from .. import configs from .. import configs
from .. import color
def parser(subparsers, config): def parser(subparsers, config):