Skip to content

Commit 17cb6f7

Browse files
committed
Fix: missing elif
1 parent 279f4ee commit 17cb6f7

File tree

1 file changed

+1
-1
lines changed
  • graalpython/lib-graalpython/modules/hpy/devel

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/modules/hpy/devel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def _finalize_hpy_ext(self, ext):
296296
if ext.hpy_abi == 'cpython':
297297
ext.extra_objects.append(self.hpydevel.get_ctx_lib())
298298
ext._hpy_needs_stub = False
299-
if ext.hpy_abi == 'universal':
299+
elif ext.hpy_abi == 'universal':
300300
ext.define_macros.append(('HPY_UNIVERSAL_ABI', None))
301301
ext._hpy_needs_stub = True
302302
else:

0 commit comments

Comments
 (0)