Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: Changeset: r52490:30cb1ba90150 Date: 2012-02-14 23:02 +0100 http://bitbucket.org/pypy/pypy/changeset/30cb1ba90150/
Log: Translation fix diff --git a/pypy/module/cpyext/pyfile.py b/pypy/module/cpyext/pyfile.py --- a/pypy/module/cpyext/pyfile.py +++ b/pypy/module/cpyext/pyfile.py @@ -98,7 +98,7 @@ There is no way to detect errors from this function, but doing so should not be needed.""" try: - if newflag: + if rffi.cast(lltype.Signed, newflag): w_newflag = space.w_True else: w_newflag = space.w_False _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit