1. pombredanne
  2. whoosh

Commits

Matt Chaput  committed 2251770

Fixed messed up logic.

  • Participants
  • Parent commits 32c2616
  • Branches default

Comments (0)

Files changed (1)

File src/whoosh/collectors.py

View file
  • Ignore whitespace
         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