Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/aiml
diff options
context:
space:
mode:
Diffstat (limited to 'aiml')
-rw-r--r--aiml/PatternMgr.py4
1 files changed, 2 insertions, 2 deletions
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: