Mercurial > libervia-web
changeset 473:d1565906f228
server_side: fixed some forgotten print statement
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 10 Jun 2014 16:02:45 +0200 |
parents | 42c8e91af048 |
children | 6700386291f1 |
files | src/server/server.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server/server.py Tue Jun 10 16:02:43 2014 +0200 +++ b/src/server/server.py Tue Jun 10 16:02:45 2014 +0200 @@ -259,10 +259,10 @@ if type_ in ("PUBLIC", "GROUP") and text: if type_ == "PUBLIC": #This text if for the public microblog - print "sending public blog" + log.debug("sending public blog") return self.sat_host.bridge.sendGroupBlog("PUBLIC", [], text, extra, profile) else: - print "sending group blog" + log.debug("sending group blog") dest = dest if isinstance(dest, list) else [dest] return self.sat_host.bridge.sendGroupBlog("GROUP", dest, text, extra, profile) else: @@ -1136,7 +1136,7 @@ reactor.listenTCP(self.port, self.site) def stopService(self): - print "launching cleaning methods" + log.info(_("launching cleaning methods")) for callback, args, kwargs in self._cleanup: callback(*args, **kwargs) self.bridge.disconnect(C.SERVICE_PROFILE)