From 071baa63c4ea3a54a54d90b173dd777e08895976 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 21 Jan 2014 23:07:12 -0600 Subject: Argument Clinic: make 'destination' directive work. --- Tools/clinic/clinic.py | 6 +++--- 1 file 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)) -- cgit v0.12