diff rhodecode/__init__.py @ 2634:4b17216f2110 beta

Deprecated validation of operating system, we just care if it's windows, let approve all other systems. - help to supports cases like cygwin etc - fixed typo in auth decorator
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 20 Jul 2012 12:05:32 +0200
parents 9382e88eae22
children 63e58ef80ef1 6f3a73439d05
line wrap: on
line diff
--- a/rhodecode/__init__.py	Fri Jul 20 12:00:57 2012 +0200
+++ b/rhodecode/__init__.py	Fri Jul 20 12:05:32 2012 +0200
@@ -46,10 +46,10 @@
 __url__ = 'http://rhodecode.org'
 
 PLATFORM_WIN = ('Windows')
-PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS')
+PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD', 'SunOS') #depracated
 
 is_windows = __platform__ in PLATFORM_WIN
-is_unix = __platform__ in PLATFORM_OTHERS
+is_unix = not is_windows
 
 
 BACKENDS = {