Commits

Ned Batchelder committed a57341f

Not sure exactly why, but having a bogus attribute reference in the trace function didn't seem to affect it at all...

  • Participants
  • Parent commits 480354e

Comments (0)

Files changed (1)

coverage/collector.py

                     return self._local_trace
                 else:
                     return None
-            return self.trace
+            return self._global_trace
 
         def _local_trace(self, frame, event, arg_unused):
             if event == 'line':