Traceback (most recent call last):
File "C:\Python27\Scripts\nixstatshello-script.py", line 9, in
load_entry_point('nixstatsagent==1.1.3', 'console_scripts', 'nixstatshello')()
File "c:\python27\lib\site-packages\nixstatsagent\nixstatsagent.py", line 45, in hello
'hostname': os.uname()[1]
AttributeError: 'module' object has no attribute 'uname'
Traceback (most recent call last): File "C:\Python27\Scripts\nixstatshello-script.py", line 9, in
load_entry_point('nixstatsagent==1.1.3', 'console_scripts', 'nixstatshello')()
File "c:\python27\lib\site-packages\nixstatsagent\nixstatsagent.py", line 45, in hello
'hostname': os.uname()[1]
AttributeError: 'module' object has no attribute 'uname'
Use socket.gethostname() or socket.getfqdn()