Author: Anton Gulenko <anton.gule...@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:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to