From d2d92e7de3ba4f1dfae26f1a21aac36b33f01791 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Wed, 12 Dec 2007 20:05:00 +0000 Subject: [PATCH] remove useless print --- src/common/pep.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/pep.py b/src/common/pep.py index 9259820f5c..3106c16706 100644 --- a/src/common/pep.py +++ b/src/common/pep.py @@ -74,7 +74,6 @@ def user_activity(items, name, jid): contact.activity['text'] = ch.getData() def user_send_mood(account, mood, message = ''): - print "Sending %s: %s" % (mood, message) if gajim.config.get('publish_mood') == False: return item = xmpp.Node('mood', {'xmlns': xmpp.NS_MOOD}) @@ -101,11 +100,9 @@ def user_send_activity(account, activity, subactivity = '', message = ''): gajim.connections[account].send_pb_publish('', xmpp.NS_ACTIVITY, item, '0') def user_send_tune(account, artist = '', title = '', source = '', track = 0,length = 0, items = None): - print "Tune to be created" if (gajim.config.get('publish_tune') == False) or \ (gajim.connections[account].pep_supported == False): return - print "publish_tune == True and pep_supported" item = xmpp.Node('tune', {'xmlns': xmpp.NS_TUNE}) if artist != '': i = item.addChild('artist') @@ -126,4 +123,3 @@ def user_send_tune(account, artist = '', title = '', source = '', track = 0,leng item.addChild(payload=items) gajim.connections[account].send_pb_publish('', xmpp.NS_TUNE, item, '0') - print "Tune published" -- GitLab