The host function just returns os.uname()[1]: -------- def host(): return os.uname()[1] --------
The python docs recommend using socket.gethostname() instead as uname can vary between systems, though I guess that's not a problem for us as we know that we are using the GNU version. -- RFE: unattended-upgrades should identify host. https://bugs.launchpad.net/bugs/341256 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs