mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-25 08:33:22 +03:00
Merge branch 'develop' of https://github.com/nicolargo/glances into develop
This commit is contained in:
commit
18d15f7a4c
@ -116,7 +116,7 @@ class Plugin(GlancesPlugin):
|
||||
else:
|
||||
self.stats['linux_distro'] = ' '.join(linux_distro[:2])
|
||||
self.stats['os_version'] = platform.release()
|
||||
elif self.stats['os_name'] in ('FreeBSD', 'OpenBSD'):
|
||||
elif self.stats['os_name'].endswith('BSD'):
|
||||
self.stats['os_version'] = platform.release()
|
||||
elif self.stats['os_name'] == "Darwin":
|
||||
self.stats['os_version'] = platform.mac_ver()[0]
|
||||
|
@ -1 +1 @@
|
||||
psutil==3.2.2
|
||||
psutil==3.3.0
|
||||
|
Loading…
Reference in New Issue
Block a user