Permalink
Browse files

Traces are not reliable with contextlib

  • Loading branch information...
1 parent 05121fc commit 5b57b6d65d10cfa51d4bbcc709bcaab23b3dd17c @patrys committed Jun 18, 2012
Showing with 2 additions and 8 deletions.
  1. +1 −7 great_justice/__init__.py
  2. +1 −1 setup.py
View
8 great_justice/__init__.py
@@ -104,10 +104,4 @@ def log_call(self, frame, event, arg):
return self.log_call
-@contextlib.contextmanager
-def we_get_signal(logger):
- '''
- Trace and log the call tree and its result
- '''
- with Signal(logger):
- yield
+we_get_signal = Signal
View
2 setup.py
@@ -19,7 +19,7 @@
author='Patryk Zawadzki',
author_email='patrys@gmail.com',
description='Debug every ZIG',
- version = '2012.6.6',
+ version = '2012.6.7',
packages = find_packages(),
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,

0 comments on commit 5b57b6d

Please sign in to comment.