Skip to content

Commit 933f08c

Browse files
author
changsookim
committed
fix: pylint error
1 parent e913307 commit 933f08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qibo/transpiler/unroller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class FlagMeta(EnumMeta):
2121
def __getitem__(self, keys):
2222
if isinstance(keys, str):
2323
return super().__getitem__(keys)
24-
return reduce(or_, [self[key] for key in keys])
24+
return reduce(or_, [super().__getitem__(key) for key in keys])
2525

2626

2727
class NativeGates(Flag, metaclass=FlagMeta):

0 commit comments

Comments
 (0)