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

Information

Review Board SVN (deprecated)

Reviewers

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.