chiark
/
gitweb
/
~matthewv
/
irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea084d1
)
Improved CVS magic stuff - maybe it will build this time
author
matthew
<matthew>
Sun, 3 Feb 2002 23:01:29 +0000
(23:01 +0000)
committer
matthew
<matthew>
Sun, 3 Feb 2002 23:01:29 +0000
(23:01 +0000)
acrobat-chiark-0.2.py
patch
|
blob
|
history
diff --git
a/acrobat-chiark-0.2.py
b/acrobat-chiark-0.2.py
index aac0c23865f5f22ebd1127d76a110418ba263aa2..e258636eed6cfce43ea4b630fd134a62f1a9acf4 100755
(executable)
--- a/
acrobat-chiark-0.2.py
+++ b/
acrobat-chiark-0.2.py
@@
-50,8
+50,9
@@
class Acrobat(SingleServerIRCBot):
self.channel = channel
self.owner = owner
# version control magic
- acrorevision=$Revision$
- acroversion=re.sub($Revision$]*\)$,\1)
+ acrorevision="$Revision$"
+ acrorev1=re.sub(Revision$\([^$]*\)$,\1,acrorevision)
+ acrorev2=re.sub($\(.*\),\1,acrorev1)
# load the karma db
try:
f = open("karmadump", "r")