chiark / gitweb /
Hopefully CVS will not eat this change...
authormatthew <matthew>
Sun, 3 Feb 2002 23:45:31 +0000 (23:45 +0000)
committermatthew <matthew>
Sun, 3 Feb 2002 23:45:31 +0000 (23:45 +0000)
acrobat-chiark-0.2.py

index 0c60726f2c5dbecf846cb626681e042872957d57..7469ae7b0ac628be1be473e35b07e3b963411b25 100755 (executable)
@@ -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,