minor fix and cleanup
This commit is contained in:
parent
0448f76b70
commit
eacf3ae802
2 changed files with 3 additions and 3 deletions
|
|
@ -107,7 +107,7 @@ class TwView(MMGenObject,metaclass=AsyncInit):
|
|||
--columns or MMGEN_COLUMNS value ({}) is too small to display the {}.
|
||||
Minimum value for this configuration: {}
|
||||
"""
|
||||
twid_errmsg = """
|
||||
twidth_errmsg = """
|
||||
Screen is too narrow to display the {}
|
||||
Please resize your screen to at least {} characters and hit any key:
|
||||
"""
|
||||
|
|
@ -218,7 +218,7 @@ class TwView(MMGenObject,metaclass=AsyncInit):
|
|||
if g.columns:
|
||||
die(1,'\n'+fmt(self.tcols_errmsg.format(g.columns,self.desc,min_cols),indent=' '))
|
||||
else:
|
||||
get_char_raw('\n'+fmt(self.twid_errmsg.format(self.desc,min_cols),append=''))
|
||||
get_char_raw('\n'+fmt(self.twidth_errmsg.format(self.desc,min_cols),append=''))
|
||||
else:
|
||||
return min_cols
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ class TestSuiteRegtest(TestSuiteBase,TestSuiteShared):
|
|||
('subgroup.txhist', ['main']),
|
||||
('subgroup.label', ['main']),
|
||||
('subgroup.view', ['label']),
|
||||
('subgroup.auto_chg', ['view']),
|
||||
('subgroup.auto_chg', ['label']),
|
||||
('stop', 'stopping regtest daemon'),
|
||||
)
|
||||
cmd_subgroups = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue