Author: Maciej Fijalkowski <fij...@gmail.com> 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 pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit