[pypy-commit] pypy default: Oups! Indentation mistake probably. Can't set a field on an object that is None...

arigo noreply at buildbot.pypy.org
Mon Jan 28 09:31:38 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r60583:abdf791cac36
Date: 2013-01-28 09:31 +0100
http://bitbucket.org/pypy/pypy/changeset/abdf791cac36/

Log:	Oups! Indentation mistake probably. Can't set a field on an object
	that is None...

diff --git a/pypy/module/thread/os_local.py b/pypy/module/thread/os_local.py
--- a/pypy/module/thread/os_local.py
+++ b/pypy/module/thread/os_local.py
@@ -98,5 +98,5 @@
         local = wref()
         if local is not None:
             del local.dicts[ec]
-        local.last_dict = None
-        local.last_ec = None
+            local.last_dict = None
+            local.last_ec = None


More information about the pypy-commit mailing list