@@ -41,41 +41,41 @@ def get_pip_list() -> str:
4141 return decode_fs_string (output )
4242
4343
44- def get_install_infos () -> str :
44+ def get_install_info () -> str :
4545 """Get DataLab installation informations
4646
4747 Returns:
4848 str: installation informations
4949 """
5050 if IS_FROZEN :
5151 # Stand-alone version
52- more_infos = "This is the Stand-alone version of DataLab"
52+ more_info = "This is the Stand-alone version of DataLab"
5353 else :
54- more_infos = ""
54+ more_info = ""
5555 try :
5656 state = dephash .check_dependencies_hash (DATAPATH )
5757 bad_deps = [name for name in state if not state [name ]]
5858 if bad_deps :
59- more_infos += "Invalid dependencies: "
60- more_infos += ", " .join (bad_deps )
59+ more_info += "Invalid dependencies: "
60+ more_info += ", " .join (bad_deps )
6161 else :
62- more_infos += "Dependencies hash file: checked."
62+ more_info += "Dependencies hash file: checked."
6363 except IOError :
64- more_infos += "Unable to open dependencies hash file."
65- more_infos += os .linesep * 2
66- more_infos += get_pip_list ()
67- infos = os .linesep .join (
64+ more_info += "Unable to open dependencies hash file."
65+ more_info += os .linesep * 2
66+ more_info += get_pip_list ()
67+ info = os .linesep .join (
6868 [
6969 f"DataLab v{ cdl .__version__ } " ,
7070 "" ,
7171 f"Machine type: { platform .machine ()} " ,
7272 f"Platform: { platform .platform ()} " ,
7373 f"Python v{ sys .version } " ,
7474 "" ,
75- more_infos ,
75+ more_info ,
7676 ]
7777 )
78- return infos
78+ return info
7979
8080
8181class InstallConfigViewerWindow (QW .QDialog ):
@@ -88,14 +88,14 @@ def __init__(self, parent: QW.QWidget | None = None) -> None:
8888 self .setWindowIcon (get_icon ("DataLab.svg" ))
8989 self .tabs = QW .QTabWidget (self )
9090 uc_title , uc_contents = get_title_contents (Conf .get_filename ())
91- plugins_io_contents = PluginRegistry .get_plugin_infos (html = False )
91+ plugins_io_contents = PluginRegistry .get_plugin_info (html = False )
9292 for registry in (SignalIORegistry , ImageIORegistry ):
9393 plugins_io_contents += os .linesep + ("_" * 80 ) + os .linesep * 2
94- plugins_io_contents += registry .get_format_infos ()
94+ plugins_io_contents += registry .get_format_info ()
9595 for title , contents , tab_icon , tab_title in (
9696 (
9797 _ ("Installation configuration" ),
98- get_install_infos (),
98+ get_install_info (),
9999 get_icon ("libre-toolbox.svg" ),
100100 _ ("Installation configuration" ),
101101 ),
0 commit comments