[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Fix minor parsing bug in MakeStat.py



commit d5ec695b4bfcf8b87532fe78a3975bda0dc41453
Author: Christian Fromme <kaner@xxxxxxxxxx>
Date:   Tue Jul 3 21:05:05 2012 +0200

    Fix minor parsing bug in MakeStat.py
---
 MakeStat.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MakeStat.py b/MakeStat.py
index a34d59b..90e5da2 100644
--- a/MakeStat.py
+++ b/MakeStat.py
@@ -26,7 +26,7 @@ def makestats(filename, configPackages):
     for line in readData:
         # This is how we recognize a relevant line: Starts with a date like
         # 2011-10-04 and has a "{" with matching "}" somewhere.
-        matchStr = "^([0-9]{4}-[0-9]{2}-[0-9]{2}).*({.*}).*"
+        matchStr = "^([0-9]{4}-[0-9]{2}-[0-9]{2}).*({'.*}).*"
         match = re.match(matchStr, line, re.DOTALL)
         if match:
             dateInfo = match.group(1)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits