Skip to content

Commit

Permalink
PyPy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 26, 2015
1 parent 905e6e6 commit 64928f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyopencl/cffi_cl.py
Expand Up @@ -479,7 +479,7 @@ class _ErrorRecord(object):

def __init__(self, msg='', code=0, routine=''):
self._routine = routine
assert isinstance(code, int)
assert isinstance(code, (int, long))
self._code = code
self._what = msg

Expand Down

0 comments on commit 64928f6

Please sign in to comment.