diff options
Diffstat (limited to 'Tools/clinic/clinic.py')
-rwxr-xr-x | Tools/clinic/clinic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 69b5c4d..289ec26 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -2752,11 +2752,11 @@ class DSLParser: self.clinic.__dict__[name] = value def directive_destination(self, name, command, *args): - if command is 'new': - self.clinic.add_destination(name, command, *args) + if command == 'new': + self.clinic.add_destination(name, *args) return - if command is 'clear': + if command == 'clear': self.clinic.get_destination(name).clear() fail("unknown destination command", repr(command)) |