Author: bugman Date: Fri Sep 6 18:10:17 2013 New Revision: 20915 URL: http://svn.gna.org/viewcvs/relax?rev=20915&view=rev Log: The compat.SYSTEM is now set to 'Windows' when 'Microsoft' is detected. This is for easier identification of MS Windows systems, as either string could be used. Modified: trunk/compat.py Modified: trunk/compat.py URL: http://svn.gna.org/viewcvs/relax/trunk/compat.py?rev=20915&r1=20914&r2=20915&view=diff ============================================================================== --- trunk/compat.py (original) +++ trunk/compat.py Fri Sep 6 18:10:17 2013 @@ -53,6 +53,8 @@ # The operating system. SYSTEM = platform.uname()[0] +if SYSTEM == 'Microsoft': + SYSTEM == 'Windows' # The Python version. PY_VERSION = sys.version_info[0] @@ -342,7 +344,7 @@ if sys.version_info[1] <= 3: if SYSTEM == 'Linux': os.devnull = '/dev/null' - elif SYSTEM == 'Windows' or SYSTEM == 'Microsoft': + elif SYSTEM == 'Windows': os.devnull = 'nul' elif SYSTEM == 'Darwin': os.devnull = 'Dev:Null'