diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-07-31 10:57:13 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-07-31 10:57:13 +0100 |
commit | c41584a5da76ae6e3e99e5fc76ebcd4ee41e9979 (patch) | |
tree | b531d49050bbb7249194c70d655d0db801d145c8 /po/ka.po | |
parent | 9a4a594b950478c8ab375967206bd08a7baf2739 (diff) | |
download | sos-c41584a5da76ae6e3e99e5fc76ebcd4ee41e9979.tar.gz |
[pcp] use socket.gethostname() instead of shelling out
There's no need to take a fork to retrieve the system host name.
Use the socket.gethostname() function instead (plugins also have
no businness importing things from sos.utilities directly - all
the useful functions in there have wrapper methods in the Plugin
class, e.g. call_ext_prog(), check_ext_prog() etc.).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po/ka.po')
0 files changed, 0 insertions, 0 deletions