Skip to content

Commit 3ba41c0

Browse files
committed
platforms/quickfeather: fix incorrect use of 'is'
1 parent aadc19d commit 3ba41c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migen/build/platforms/quickfeather.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def __init__(self, programmer="jlink"):
5454
self.programmer = programmer
5555

5656
def create_programmer(self):
57-
if self.programmer is "jlink":
57+
if self.programmer == "jlink":
5858
return JLinkProgrammer()
59-
elif self.programmer is "openocd":
59+
elif self.programmer == "openocd":
6060
return OpenOCD()
6161
else:
6262
raise ValueError("{} programmer is not supported"

0 commit comments

Comments
 (0)