Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/aiml
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-07-17 21:44:01 (GMT)
committer flavio <fdanesse@gmail.com>2012-07-17 21:44:01 (GMT)
commit5a23748f6291aa4ac9e1b895692d11afdf46b4e9 (patch)
tree31934ef9ff9f50d652b6f011c7f7ea04c62ce63d /aiml
parent27ee0e4bd2ef993d26e02427170910ea09917a4a (diff)
to sugar3
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: