[pypy-commit] pypy py3k: adapt to py3
pjenvey
noreply at buildbot.pypy.org
Wed Oct 15 01:02:26 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r73963:2aea62c472fb
Date: 2014-10-14 16:01 -0700
http://bitbucket.org/pypy/pypy/changeset/2aea62c472fb/
Log: adapt to py3
diff --git a/pypy/module/_winreg/interp_winreg.py b/pypy/module/_winreg/interp_winreg.py
--- a/pypy/module/_winreg/interp_winreg.py
+++ b/pypy/module/_winreg/interp_winreg.py
@@ -266,9 +266,7 @@
buf = None
if typ == rwinreg.REG_DWORD:
- if space.is_none(w_value) or (
- space.isinstance_w(w_value, space.w_int) or
- space.isinstance_w(w_value, space.w_long)):
+ if space.is_none(w_value) or space.isinstance_w(w_value, space.w_int):
if space.is_none(w_value):
value = r_uint(0)
else:
More information about the pypy-commit
mailing list