From 5a23748f6291aa4ac9e1b895692d11afdf46b4e9 Mon Sep 17 00:00:00 2001 From: flavio Date: Tue, 17 Jul 2012 21:44:01 +0000 Subject: to sugar3 --- (limited to 'aiml') diff --git a/aiml/PatternMgr.py b/aiml/PatternMgr.py index 21b73f1..99f5124 100644 --- a/aiml/PatternMgr.py +++ b/aiml/PatternMgr.py @@ -124,7 +124,7 @@ class PatternMgr: # add the template. if not node.has_key(self._TEMPLATE): - self._templateCount += 1 + self._templateCount += 1 node[self._TEMPLATE] = template def match(self, pattern, that, topic): @@ -250,7 +250,7 @@ class PatternMgr: at the root and leading to the matching pattern, and tem is the matched template. - """ + """ # base-case: if the word list is empty, return the current node's # template. if len(words) == 0: -- cgit v0.9.1