diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-25 13:22:46 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-25 13:22:46 +0200 |
| commit | 97b82ce849ae3165906d5e9c1c019d2688339d0b (patch) | |
| tree | 7b889a9da85ff9f99ced26098cc8a32696673859 /clusterman/__main__.py | |
| parent | cfc1be03335dea934857a43cc027b49cd523f95d (diff) | |
Minor changes
Diffstat (limited to 'clusterman/__main__.py')
| -rw-r--r-- | clusterman/__main__.py | 23 |
1 files changed, 1 insertions, 22 deletions
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() + |
