From 97b82ce849ae3165906d5e9c1c019d2688339d0b Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 25 Oct 2023 13:22:46 +0200 Subject: Minor changes --- clusterman/__main__.py | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'clusterman') diff --git a/clusterman/__main__.py b/clusterman/__main__.py index 413293b..7700eec 100644 --- a/clusterman/__main__.py +++ b/clusterman/__main__.py @@ -1,25 +1,4 @@ -import platform -from typing import NamedTuple - -class SystemInformations(NamedTuple): - """System Informations Data Structure""" - hostname: str - arch: str - os: str - release: str - -def sysinfos_create(): - global SYSINFOS - uname = platform.uname() - SYSINFOS=SystemInformations( - uname.node, - uname.machine, - uname.system, - uname.release - ) - print(SYSINFOS) - def main(): print("It works!") - sysinfos_create() + -- cgit v1.2.3