Commits

Matt Chaput  committed 2251770

Fixed messed up logic.

  • Participants
  • Parent commits 32c2616

Comments (0)

Files changed (1)

File src/whoosh/collectors.py

         if use_alarm:
             import signal
             self.use_alarm = use_alarm and hasattr(signal, "SIGALRM")
+        else:
+            self.use_alarm = False
 
         self.timer = None
         self.timedout = False