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

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

dlacoste
Review Board SVN (deprecated)
1280, Issue
reviewboard
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.
chipx86
  1. Thanks! Committed in r2111.
  2. 
      
Loading...