minor change to new function isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections

This commit is contained in:
Jonathan Warren 2014-01-21 01:17:36 -05:00
parent 7983a14754
commit 917e27c19b

View File

@ -126,7 +126,7 @@ def isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections():
try:
VER_THIS=StrictVersion(platform.version())
if sys.platform[0:3]=="win":
return StrictVersion("5.1.2600")<VER_THIS and StrictVersion("6.0.6000")>VER_THIS
return StrictVersion("5.1.2600")<=VER_THIS and StrictVersion("6.0.6000")>=VER_THIS
return False
except Exception as err:
print 'An Exception occurred within isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections:', err