[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [policies/master] Explicitly match irc flags
commit 3963b987a7c58d1f63353d767fcca9c733216aeb
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Thu Oct 5 12:14:48 2017 -0700
Explicitly match irc flags
Ok, screw it. Still missing results so just matching them explicitly. Double
checked this time that everything the match excludes is indeed not normal
messages (not gonna invest time for the /me stuff).
---
scripts/irc_activity.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/irc_activity.py b/scripts/irc_activity.py
index 7545cfc..d3043e3 100644
--- a/scripts/irc_activity.py
+++ b/scripts/irc_activity.py
@@ -18,7 +18,7 @@ IRC_CHANNELS = (
'#tor-internal',
)
-AUTHOR = re.compile('^[0-9]{2}:[0-9]{2} <[ .](\S+)>')
+AUTHOR = re.compile('^[0-9]{2}:[0-9]{2} <[ +@](\S+)>')
DATE_LINE = re.compile('^--- Day changed [\S]{3} [\S]{3} [0-9]{2} [0-9]{4}$')
START_DATE = datetime.date.today() - relativedelta.relativedelta(months = 6)
LOG_DIR = sys.argv[1] if len(sys.argv) >= 2 else None
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits