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

Unified Diff: third_party/twisted_8_1/twisted/internet/pyuisupport.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 side-by-side diff with in-line comments
Download patch
Index: third_party/twisted_8_1/twisted/internet/pyuisupport.py
diff --git a/third_party/twisted_8_1/twisted/internet/pyuisupport.py b/third_party/twisted_8_1/twisted/internet/pyuisupport.py
deleted file mode 100644
index a845e19b4ba3c3062762a7cd70515f3019bef57e..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/internet/pyuisupport.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-
-"""
-This module integrates PyUI with twisted.internet's mainloop.
-
-Maintainer: U{Jp Calderone<mailto:exarkun@twistedmatrix.com>}
-
-See doc/examples/pyuidemo.py for example usage.
-"""
-
-# System imports
-import pyui
-
-def _guiUpdate(reactor, delay):
- pyui.draw()
- if pyui.update() == 0:
- pyui.quit()
- reactor.stop()
- else:
- reactor.callLater(delay, _guiUpdate, reactor, delay)
-
-
-def install(ms=10, reactor=None, args=(), kw={}):
- """
- Schedule PyUI's display to be updated approximately every C{ms}
- milliseconds, and initialize PyUI with the specified arguments.
- """
- d = pyui.init(*args, **kw)
-
- if reactor is None:
- from twisted.internet import reactor
- _guiUpdate(reactor, ms / 1000.0)
- return d
-
-__all__ = ["install"]
« no previous file with comments | « third_party/twisted_8_1/twisted/internet/protocol.py ('k') | third_party/twisted_8_1/twisted/internet/qtreactor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698