From 248752602c67111e77d60ab2673a6ef722ae9822 Mon Sep 17 00:00:00 2001 From: matthew Date: Sun, 3 Feb 2002 23:45:31 +0000 Subject: [PATCH 1/1] Hopefully CVS will not eat this change... --- acrobat-chiark-0.2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acrobat-chiark-0.2.py b/acrobat-chiark-0.2.py index 0c60726..7469ae7 100755 --- a/acrobat-chiark-0.2.py +++ b/acrobat-chiark-0.2.py @@ -136,7 +136,7 @@ class Acrobat(SingleServerIRCBot): def infoq(self, cmd, nick, conn, public): # version control magic acrorevision="$Revision$" - acrorev1=re.sub(r'\$Revision$Revision$') + acrorev1=re.sub(r'\$Revision: (.*)',r'\1',acrorevision) acroversion=re.sub(r'(.*) \$',r'\1',acrorev1) if public == 1: conn.privmsg(self.channel, -- 2.30.2