[pypy-commit] lang-smalltalk storage: Small fix.

anton_gulenko noreply at buildbot.pypy.org
Wed May 7 21:16:11 CEST 2014


Author: Anton Gulenko <anton.gulenko at googlemail.com>
Branch: storage
Changeset: r799:986a12192755
Date: 2014-05-05 17:20 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/986a12192755/

Log:	Small fix.

diff --git a/spyvm/storage_statistics.py b/spyvm/storage_statistics.py
--- a/spyvm/storage_statistics.py
+++ b/spyvm/storage_statistics.py
@@ -31,7 +31,7 @@
             size = w_obj.size()
             
             key = self.make_key(operation, old_storage, new_storage)
-            if _stats.do_stats:
+            if self.do_stats:
                 self.stat_operation(key, size)
             if self.do_log:
                 if log_classname:


More information about the pypy-commit mailing list