Updated Caper to v0.2.3 and Logr to v0.2.2 to greatly improve matching performance

This commit is contained in:
Dean Gardiner committed 2013-12-04 19:29:02 +13:00
1 parent 5ea7dc5920
commit b0e352ab6d
5 files changed
+51 -22

No files matched your search

+3 -1
View File
@@ -18,7 +18,9 @@ from caper.result import CaperResult, CaperClosureNode
class Parser(object):
def __init__(self, pattern_groups):
def __init__(self, pattern_groups, debug=False):
self.debug = debug
self.matcher = FragmentMatcher(pattern_groups)
self.closures = None