提交 a015b930 编写于 作者: L Lucas Meneghel Rodrigues 提交者: Lucas Meneghel Rodrigues

Merge pull request #136 from lmr/fix-output

avocado: Fix renamed attribute from avocado.core.output
......@@ -33,7 +33,7 @@ class DataDirList(plugin.Plugin):
self.configured = True
def list_data_dirs(self, args):
bcolors = output.colors
bcolors = output.term_support
pipe = output.get_paginator()
pipe.write(bcolors.header_str('Avocado Data Directories:'))
pipe.write('\n base dir: ' + data_dir.get_base_dir())
......
......@@ -33,7 +33,7 @@ class PluginsList(plugin.Plugin):
self.configured = True
def list_plugins(self, args):
bcolors = output.colors
bcolors = output.term_support
pipe = output.get_paginator()
pm = get_plugin_manager()
pipe.write(bcolors.header_str('Plugins loaded:'))
......
......@@ -52,7 +52,7 @@ class TestLister(plugin.Plugin):
:param args: Command line args received from the list subparser.
"""
bcolors = output.colors
bcolors = output.term_support
pipe = output.get_paginator()
test_files = os.listdir(data_dir.get_test_dir())
test_dirs = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册