Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpgritti@gmail.com>2008-10-02 11:12:42 (GMT)
committer Marco Pesenti Gritti <mpgritti@gmail.com>2008-10-02 11:12:42 (GMT)
commitdfe0c4f46464c6e6ca04e910d7b06170159fb184 (patch)
treeef73374609faf50c0382ea6ab9de404723ff70f2 /bin
parent51af4ead460b6396f2d12bdef1a2f0617e7d67da (diff)
Drop unused SUGAR_TP_DEBUG.
Diffstat (limited to 'bin')
-rw-r--r--bin/sugar-shell28
1 files changed, 0 insertions, 28 deletions
diff --git a/bin/sugar-shell b/bin/sugar-shell
index 8f50032..a47b556 100644
--- a/bin/sugar-shell
+++ b/bin/sugar-shell
@@ -118,34 +118,6 @@ def main():
if get_profile().timezone is not None:
os.environ['TZ'] = get_profile().timezone
- if os.environ.has_key("SUGAR_TP_DEBUG"):
- # Allow the user time to start up telepathy connection managers
- # using the Sugar DBus bus address
- import time
- from telepathy.client import ManagerRegistry
-
- registry = ManagerRegistry()
- registry.LoadManagers()
-
- debug_flags = os.environ["SUGAR_TP_DEBUG"].split(',')
- for cm_name in debug_flags:
- if cm_name not in ["gabble", "salut"]:
- continue
-
- try:
- cm = registry.services[cm_name]
- except KeyError:
- print RuntimeError("%s connection manager not found!" % cm_name)
-
- while not check_cm(cm['busname']):
- print "Waiting for %s on: DBUS_SESSION_BUS_ADDRESS=%s" % \
- (cm_name, os.environ["DBUS_SESSION_BUS_ADDRESS"])
- try:
- time.sleep(5)
- except KeyboardInterrupt:
- print "Got Ctrl+C, continuing..."
- break
-
# TODO: move initializations from the Shell constructor to a start() method
shell.get_instance()
ShellService()