Issue 1280: use hasattr() to detect if os.uname exists before relying on it

Review Request #973 — Created Aug. 19, 2009 and submitted — Latest diff uploaded


Review Board SVN (deprecated)


Update to use hasattr() to detect os.uname (to allow for systems where os.uname doesn't exist)
Tested on my windows system (the one that failed) : works fine now.