Author: Maciej Fijalkowski <[email protected]>
Branch: remove-frame-debug-attrs
Changeset: r77029:0407cfe85822
Date: 2015-05-04 10:28 +0200
http://bitbucket.org/pypy/pypy/changeset/0407cfe85822/
Log: fix rpython
diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -117,7 +117,7 @@
def get_is_being_profiled(self):
d = self.getdebug()
if d is None:
- return None
+ return False
return d.is_being_profiled
def __repr__(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit