davidgomes/hostname-tool — pull request #1 by DarkRedman (2012-01-24 15:50:36+00:00)
Title: IOError handling

I handle IOError and the ioerror 13 (privileges required) it will show a dialog to explain the problem : recommend the user to relaunch the program with root privileges (gksu python hostname_tool.py)