This commit is contained in:
Sven Heidemann 2020-12-16 18:23:34 +01:00
parent fcb57bd2cc
commit c015780a8d
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Version(CommandBase):
Console.write_line(f'Python: {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}') Console.write_line(f'Python: {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}')
Console.write_line(f'OS: {platform.system()} {platform.processor()}') Console.write_line(f'OS: {platform.system()} {platform.processor()}')
Console.write_line('\nCPL:') Console.write_line('CPL:')
packages = [] packages = []
for importer, modname, is_pkg in pkgutil.iter_modules(sh_edraft.__path__): for importer, modname, is_pkg in pkgutil.iter_modules(sh_edraft.__path__):
module = importer.find_module(modname).load_module(modname) module = importer.find_module(modname).load_module(modname)

View File

@ -153,6 +153,7 @@ class Console:
table = tabulate(values, headers=header) table = tabulate(values, headers=header)
Console.write_line(table) Console.write_line(table)
Console.write('\n')
@classmethod @classmethod
def write(cls, *args): def write(cls, *args):