ae01b1d
From e9cc83b63e8f54caf219114e4eeff99bc3772a6a Mon Sep 17 00:00:00 2001
ae01b1d
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
ae01b1d
Date: Sat, 12 Dec 2015 16:11:14 +0100
ae01b1d
Subject: [PATCH 5/5] remove bool constants hack
ae01b1d
ae01b1d
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
ae01b1d
---
ae01b1d
 src/Quest.py | 7 -------
ae01b1d
 1 file changed, 7 deletions(-)
ae01b1d
ae01b1d
diff --git a/src/Quest.py b/src/Quest.py
ae01b1d
index 5c7500d..c5143f0 100644
ae01b1d
--- a/src/Quest.py
ae01b1d
+++ b/src/Quest.py
ae01b1d
@@ -47,13 +47,6 @@ import numpy as num
ae01b1d
 def getinf(x):
ae01b1d
     return num.nonzero( num.isinf( num.atleast_1d(x) ) )
ae01b1d
 
ae01b1d
-# Use Python's bool constants if available, make aliases if not
ae01b1d
-try:
ae01b1d
-    True
ae01b1d
-except NameError:
ae01b1d
-    True = 1==1
ae01b1d
-    False = 1==0
ae01b1d
-
ae01b1d
 class QuestObject:
ae01b1d
     
ae01b1d
     """Measure threshold using a Weibull psychometric function.
ae01b1d
-- 
ae01b1d
2.6.4
ae01b1d