Skip to content
Snippets Groups Projects
Commit 8b712749 authored by Jean-Luc Parouty's avatar Jean-Luc Parouty
Browse files

Change os.uname to plateforme.uname

parent dd667037
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# A simple module to host some common functions for practical work # A simple module to host some common functions for practical work
# Jean-Luc Parouty 2020 # Jean-Luc Parouty 2020
import os,sys import os,sys,platform
import glob import glob
import shutil import shutil
from datetime import datetime from datetime import datetime
...@@ -98,7 +98,7 @@ def init(name=None, run_directory='./run'): ...@@ -98,7 +98,7 @@ def init(name=None, run_directory='./run'):
# ---- Today, now and hostname # ---- Today, now and hostname
# #
_start_time = datetime.datetime.now() _start_time = datetime.datetime.now()
h = os.uname() h = platform.uname()
# ---- Hello world # ---- Hello world
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment