Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: third_party/twisted_8_1/twisted/words/im/proxyui.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
2 # See LICENSE for details.
3
4 #
5
6 from twisted.words.protocols.irc import IRC
7 from twisted.python import log
8 from twisted.internet.protocol import Factory
9
10 class IRCUserInterface(IRC):
11 def connectionLost(self):
12 del self.factory.ircui
13
14 class IRCUIFactory(Factory):
15 ircui = None
16 def buildProtocol(self):
17 if self.ircui:
18 log.msg("already logged in")
19 return None
20 i = IRCUserInterface()
21 i.factory = self
22 self.ircui = i
23 return i
24
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/words/im/pbsupport.py ('k') | third_party/twisted_8_1/twisted/words/im/tap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698