Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r77528:ac8fef3dbefa
Date: 2015-05-25 10:38 +0200
http://bitbucket.org/pypy/pypy/changeset/ac8fef3dbefa/
Log: of course
diff --git a/pypy/module/_vmprof/interp_vmprof.py
b/pypy/module/_vmprof/interp_vmprof.py
--- a/pypy/module/_vmprof/interp_vmprof.py
+++ b/pypy/module/_vmprof/interp_vmprof.py
@@ -146,7 +146,7 @@
if not self.ever_enabled:
if we_are_translated():
res = pypy_vmprof_init()
- if not res:
+ if res:
raise OperationError(
space.w_IOError,
space.wrap(rffi.charp2str(vmprof_get_error())))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit