- From: Aaron Swartz <aswartz@upclink.com>
- Date: Tue, 21 Aug 2001 14:43:15 -0400
- To: Dan Connolly <connolly@w3.org>
- Cc: www-archive+scribe@w3.org
$ cvs diff ? httpAsync.pyc ? ircAsync.pyc cvs server: Diffing . Index: ircAsync.py =================================================================== RCS file: /sources/public/2000/scribe-bot/ircAsync.py,v retrieving revision 1.5 diff -r1.5 ircAsync.py 114a115,124 > if origin != None and '!' in origin: > nick, userHost = string.split(origin, '!', 1) > if '@' in userHost: > user, host = string.split(userHost, '@', 1) > else: > user, host = userHost, None > else: > nick = origin > user, host = None, None > 119,128d128 < < if '!' in origin: < nick, userHost = string.split(origin, '!', 1) < if '@' in userHost: < user, host = string.split(userHost, '@', 1) < else: < user, host = userHost, None < else: < nick = origin < user, host = None 129a130,132 > elif args[0] == 'INVITE': > target = args[1] > self.onInvite(target, text, nick, user, host) 136a140,143 > """this is for subclasses to override""" > pass > > def onInvite(self, target, text, nick, user, host): Index: rdfn3chat.py =================================================================== RCS file: /sources/public/2000/scribe-bot/rdfn3chat.py,v retrieving revision 1.7 diff -r1.7 rdfn3chat.py 17c17 < sys.path.append("/home/connolly/w3ccvs/WWW/2000/10/swap") #@@ --- > sys.path.append("/Users/aaronsw/Projects/cwm/swap") #@@ 60a61,64 > # set default context > msgid = self.genId() > self.formalStatement('@prefix : <#> .', msgid) > 72a77,80 > def onInvite(self, target, text, nick, user, host): > self.todo(['JOIN',text]) > self.tell(nick, "OK, see you over there.") > 81a90 > input = string.strip(input) 89c98 < "UTSL @ http://dev.w3.org/cvsweb/2000/scribe-bot/") --- > "UTSL @ http://dev.w3.org/cvsweb/2000/scribe-bot/ (modified by AaronSw, ping me for diffs)") 112a122,128 > elif args[0] == 'join': > self.todo(['JOIN',args[1]]) > self.tell(replyTo, "OK, see you over there.") > elif args[0] == 'part': > self.tell(replyTo, "OK, I'm going...") > self.tell(args[1], "Bye, bye! " + nick + " told me to leave.") > self.todo(['PART',args[1]]) -- [ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Tuesday, 21 August 2001 14:43:43 UTC