From: matthew Date: Sun, 3 Feb 2002 23:45:31 +0000 (+0000) Subject: Hopefully CVS will not eat this change... X-Git-Tag: upstream_0_3~14 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=commitdiff_plain;h=248752602c67111e77d60ab2673a6ef722ae9822;hp=41daf900c277f0bb1ae2e038eaf585c1047d372a Hopefully CVS will not eat this change... --- 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,