Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Wed, 22 Sep 2010 23:46:57 +0200
changeset 796 13bba4066f90
parent 794 12eadf33cce1 (current diff)
parent 795 234c4314c6a4 (diff)
child 803 2941e3ddd1b1
Merge with stable
--- a/tests/run-tests.py	Fri Sep 17 20:53:56 2010 +0200
+++ b/tests/run-tests.py	Wed Sep 22 23:46:57 2010 +0200
@@ -503,6 +503,9 @@
 
     def rematch(el, l):
         try:
+            # hack to deal with graphlog, which looks like bogus regexes
+            if el.startswith('|'):
+                el = '\\' + el
             return re.match(el, l)
         except re.error:
             # el is an invalid regex