From 333d341c3d642e1093b797e8c837330a13b415fe Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 16 Jun 2006 15:31:07 -0400 Subject: [PATCH] Remove debug prints --- sugar/presence/PresenceService.py | 4 ---- sugar/presence/Service.py | 1 - 2 files changed, 5 deletions(-) diff --git a/sugar/presence/PresenceService.py b/sugar/presence/PresenceService.py index e4bbd237..7fb0a44d 100644 --- a/sugar/presence/PresenceService.py +++ b/sugar/presence/PresenceService.py @@ -455,13 +455,9 @@ class PresenceService(gobject.GObject): def share_activity(self, activity, stype, properties={}, address=None, port=None): """Convenience function to share an activity with other buddies.""" - print "type stype == %s" % type(stype) - print "Type of a string is %s" % type("") - uid = activity.get_id() owner_nick = self._owner.get_nick_name() real_stype = Service.compose_service_type(stype, uid) - print "PS: type of real_stype is %s" % type(real_stype) if address and type(address) != type(""): raise ValueError("address must be a valid string.") if not address: diff --git a/sugar/presence/Service.py b/sugar/presence/Service.py index a8461ac4..4740f785 100644 --- a/sugar/presence/Service.py +++ b/sugar/presence/Service.py @@ -70,7 +70,6 @@ class Service(object): if not name or type(name) != type("") or not len(name): raise ValueError("must specify a valid service name.") - print "Service:: type of full_stype is %s" % type(full_stype) if full_stype and type(full_stype) == type(u""): raise ValueError("service type must not be in unicode.") if not full_stype or type(full_stype) != type("") or not len(full_stype):